View Single Post
  #2  
Old 20th March 2012, 08:56
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,501 Times in 4,330 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote