On Thu, Jan 29, 2009 at 6:09 PM, Mark Van Crombrugge <mark.vancrombrugge@xxxxxxx> wrote: > Third HTTPD.CONF, no mather which URL one browses for, "Third Website" is > allways served. > > NameVirtualHost *:80 > # > # NOTE: NameVirtualHost cannot be used without a port specifier > # (e.g. :80) if mod_ssl is being used, due to the nature of the > # SSL protocol. > > #Third Website > <Virtualhost *:80> > Documentroot /var/www/html/website3 > ServerName www.website3.org > ServerAlias website3.org > </Virtualhost> > > #Second Website > <Virtualhost *:80> > Documentroot /var/www/html/website2 > ServerName www.website2.org > ServerAlias website2.org > </Virtualhost> > > # First Website > <Virtualhost *:80> > Documentroot /var/www/html/www.website1.org > ServerName www.website1.org > ServerAlias website1.org > </Virtualhost> At first glance this is all correct, and should work. But it doesn't you tell us... NameVirtualHost relies on features in HTTP 1.1. It could be that the requests your server are receiving are not HTTP .1.0. Could you test your site from the machine itself, using something like curl? curl -v "www.webiste1.org" should give you the startpage of the third website. If it does, than there is nothing wrong with your apache, and the problem is somewhere else. If your servert is the problem then you should look at something that might be sabotaging your webserver's ability to find the right virtual host. Krist -- krist.vanbesien@xxxxxxxxx krist@xxxxxxxxxxxxx Bremgarten b. Bern, Switzerland -- A: It reverses the normal flow of conversation. Q: What's wrong with top-posting? A: Top-posting. Q: What's the biggest scourge on plain text email discussions? --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx