httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J. Greenlees" <>
Subject Re: [users@httpd] Adding Virtual Host to Apache 2
Date Fri, 20 Dec 2002 17:02:58 GMT

Milhomem, Marcus wrote:
> Hi all,
>     I have a apache server that was running ok, with the out of the box
> configuration  of apache 2, I mean, without virtual hosts. But now, my
> machine will host another domain, so I have to add a virtual host to my
> httpd.conf. So now I have my domain and a virtual host
> But after I configured my virtual host, dosen´t matter if I
> type or, it always shows the virtual host´s
> homepage. I inserted the following config on my httpd.conf, what I did
> wrong?
> NameVirtualHost *
> <VirtualHost>
>      DocumentRoot /www/htdocs/bbb
>      ServerName
> </VirtualHost>

NameVirtualHost *:80

as oded put it that is the recommended if you are not mixing named and 
ip based virtual hosts.

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