You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Breheny, Paul" <Pa...@echostar.com> on 2002/03/05 22:50:38 UTC

RE: Simple Name-Based Vhosting

You need to supply the IP and port in the <VirtualHost> declaration.
Further, I would put the ServerName in the <VirtualHost> body.

Paul Breheny
Associate Systems Admin
Echostar Communications Corporation
5701 S. Sante Fe
Littleton, CO 80120
paul.breheny@echostar.com
Office: 303-723-2161
Fax: 303-723-2199

-----Original Message-----
From: Weifeng Wang [mailto:Weifeng.Wang@bioinfogroup.com] 
Sent: Tuesday, March 05, 2002 2:56 PM
To: users@httpd.apache.org
Cc: Weifeng.Wang@bioinfogroup.com
Subject: Simple Name-Based Vhosting

Hi there,

I followed the "Simple name-based vhosting" example from Apache
documentation and it does not work.  I specified the following in the
httpd.conf file:

Port 7778
ServerName bigus01

NameVirtualHost *

<VirtualHost *>
DocumentRoot /app/www/biorevelations
ServerName www.biorevelations.com
</VirtualHost>

I can ping or nslookup the "www.biorevelations.com" and they do point to the
IP address of the server "bigus01".  By the way, I have turned off the proxy
setting on the browser.  I would appreciate very much if anyone could tell
me what is wrong with this configuration and what else I need to specify.
Thanks.

Weifeng Wang


---------------------------------------------------------------------
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@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

---------------------------------------------------------------------
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@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org