httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <li...@kentane.net>
Subject [users@httpd] Virtual host problems
Date Fri, 13 Dec 2002 10:34:10 GMT
Greetings,
I have been battling with virtual hosts. My setup is as follows:
apache-1.3.27-2 RH Linux 7.3

The system has one IP address 192.168.1.2. My virtual hosts stuff on the
http.conf file follows: NameVirtualHost 192.168.1.2

<VirtualHost 192.168.1.2>
ServerName webmail.domain.tld
ServerPath /webmail
DocumentRoot /var/www/html/webmail
</VirtualHost>
    
NameVirtualHost 192.168.1.2

<VirtualHost 192.168.1.2>
ServerName web-cyradm.domain.tld
ServerPath /web-cyradm/
DocumentRoot /var/www/html/web-cyradm
</VirtualHost>

When I try and access either virtual hosts by hostname, I get the
default page.

Is it possible to do this with only one IP addresss or do I need to add
another IP to the webserver to achieve this?

I can't seem to get it going. Please help!


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


Mime
View raw message