Re: RHEL3 and apache 2.0 virtual hosts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Mark Haney <mhaney@xxxxxxxxxxxxxxxx>:

> Okay, maybe it's just me doing something stupid, but I cannot get
> Virtual Hosts working on a RHEL3 box for one of my customers.  I have 4
> domains going to one IP address, and I read and followed TFM so far to
> no avail, so I'm asking for some help.  Here's what I have in httpd.conf:
>
> NameVirtualHost *:80
>
> <VirtualHost *>
> DocumentRoot /var/www/html/ser
> ServerName www.domain1.com
> </VirtualHost>
>
> <VirtualHost *>
> DocumentRoot /var/www/html/wom
> ServerName www.dom2.com
> </VirtualHost>
>
> <VirtualHost *>
> DocumentRoot /var/www/html/rotn
> ServerName www.dom3.com
> </VirtualHost>
>
> <VirtualHost *>
> DocumentRoot /var/www/html/ccs
> ServerName www.dom4.com
> </VirtualHost>
>
> Now, the first listed domain works fine (I have a cheesy under
> construction page), but when I go to any of the others I get the 'Under
> construction page' for all of them.  I simply don't understand what I've
> missed.
>
> Help.

<VirtualHost *> may be valid, but I always use <VirtualHost IP Address:port>.   
At the very least I would try <VirtualHost *:80>  Have you tried that?  Any
useful information in your error log?

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux