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....
Setup DNS for domain parking
Moderator: General Moderators
-
phpinicial
- Forum Newbie
- Posts: 3
- Joined: Thu Dec 27, 2007 6:36 pm
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.
There are 10 types of people in this world, those who understand binary and those who don't