RHEL3 and apache 2.0 virtual hosts

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

 



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.


-- 
Recedite, plebes! Gero rem imperialem!


Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415

Call (866) ERC-7110 for after hours support

-- 
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