I can't find the forum section for Apache here in daniweb so I just posted it here in PHP because we typically use Apache with PHP. The problem is not concerning with my PHP program but with the settings of apache.

The domain of my website is "www.whatever.com" (this is just a dummy link). However, I like my users to visit the site with different options such as "test1.whatever.com" or "test2.whatever.com" and/or "test3.whatever.com".

The first solution that I could think of is to use subdomains, and I have to set this up manually one by one in my cPanel. I heard some tip to use URL rewriting. After reading a few tutorial of URL re-writing, I never encountered examples such as what I needed so I am here asking help if someone knows it better and help me out.


7 Years
Discussion Span
Last Post by Shanti C
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.