httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matus UHLAR - fantomas <>
Subject Re: [users@httpd] Apache2 only serves first virtualhost
Date Fri, 30 Jan 2009 08:40:25 GMT
On 29.01.09 18:09, Mark Van Crombrugge wrote:
> I moved some websites from an Apache1 to an Apache2 server which was  
> allready hosting one site (defined by a colleague some months ago).
> Added the second site to the httpd.conf file but the first one is  
> allways served, even when typing the URL of the second one.
> If you change the position of the sites in the httpd.conf, it is  
> obvious that it is allways the first site who is served.

Seems like NameVirtualHost is missing. 
Are you sure apache2 uses the same config file?
What do logs say?

Matus UHLAR - fantomas, ;
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Linux - It's now safe to turn on your computer.
Linux - Teraz mozete pocitac bez obav zapnut.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message