
20th March 2012, 07:56
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,908
Thanks: 693
Thanked 4,196 Times in 3,212 Posts
|
|
apache will show the first website that it finds for the same IP address in alphabetical order.
The easiest way to get a specific site in the first place that shall be shown when a vhost does not exist is to add a prefix. For example.com:
1) Rename the domain of the website example.com to: 0000-example.com
2) Add example.com as aliasdomain to the website 0000-example.com
The domain 0000-example.com does not have to exist in dns.
|