httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davide Bianchi <>
Subject Re: [users@httpd] Virtual host question- Webserver
Date Fri, 08 Jul 2005 12:15:06 GMT
Loganathan Ramasamy wrote:
> Let us assume my hostnames 2287 and 2288 . How should I go about
> creating a 
> I tried the following is it correct ?

Nope. You should have something like:

NameVirtualHost *:80
<VirtualHost *:80>
    ServerName BLRD2287
    DocumentRoot /www/docs/
<VirtualHost *:80 >
    ServerName BLRD2288
    DocumentRoot /www/docs/

*AND* you should specify two different DocumentRoot (otherwise
both will point to the same data, then were is the advantage in
using VHosts?)

*IF* your Apache is listening on port 80. At this point you should
be able to get one or the other by using http://blrd2287/ or


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