httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter" <>
Subject [users@httpd] Virtual hosts on windows
Date Tue, 15 Oct 2002 13:05:45 GMT
I have a local network consisting of a win 98 (running apache with php  and
mysql). and an NT box.

 I now want to set up two sites, using virtual hosts. The IP of the win98
box is and of the NT box

The domain names will be and

I altered the hosts file to read:

I included the virtual hosts sections in the apache conf file:

# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
    DocumentRoot "C:/usr/www/sitea"
    ErrorLog logs/sitea.log
    CustomLog logs/sitea.log common
    Port 80
# This should be changed to whatever you set DocumentRoot to.
 <Directory "C:/usr/www/sitea">

     Options Indexes FollowSymLinks MultiViews ExecCGI Includes
     AllowOverride None
     Order allow,deny
     Allow from all

 I have not included anything for site b yet.

In the browser I can only connect using the ip address I expected
top be able to connect using

Can anyone please tell me what I have missed.

Peter Goggin

Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (
Version: 6.0.394 / Virus Database: 224 - Release Date: 3/10/02

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