Page 1 of 1

Setup DNS for domain parking

Posted: Wed May 02, 2007 5:33 pm
by GeXus
I would like to setup my box so that any domain which has my DNS, will automatically be recognized, to where I could have it use domain parking..

So for example, every domain which has my DNS would resolve to one file on my box (ie; every domain will hit /index.php) and from that I can get the domain name and do whatever I want based on the domain....

Posted: Thu Dec 27, 2007 6:41 pm
by phpinicial
I'm looking for that too. Anyone has idea how?

Posted: Fri Dec 28, 2007 3:45 am
by Inkyskin
Could this not be done wth virtual hosts in apache conf? I'm sure there must be a wildcard you could use instead of a domain path so that ALL sites that point to that server point to the same location.

Posted: Fri Dec 28, 2007 4:37 am
by VladSun
Inkyskin wrote:Could this not be done wth virtual hosts in apache conf? I'm sure there must be a wildcard you could use instead of a domain path so that ALL sites that point to that server point to the same location.
# The first VirtualHost section is used for requests without a known
# server name.