Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

PHP Virtual Name Server !

How can I redirect some_choice.mydomain.com to some_url ???

7:37 pm on Sep 3, 2001 (gmt 0)

New User

5+ Year Member

joined:Jan 10, 2011
votes: 0

Hi. My site is hosted at [mycgiserver.com...] and my name server (www.MyDomain.com) redirects any sub_domain.AaronCarter.ac to [mycgiserver.com...] How can my PHP script detect the sub_domain entered in the browser?
getenv(HTTP_HOST) detects mycgiserver.com i