[SLUG] Virtual Hosts on Apache

From: Darr Palmer (darr@darrpalmer.com)
Date: Sun Oct 13 2002 - 09:52:47 EDT


I am running Apache Advanced Extranet Server 1.3.23 and attempting to
run multiple websites on the same box.

I have tried using Webmin, going straight in and configuring httpd.conf
but with no success. I have the default website appearing again, and
now when you try to hit one of the other sites it is giving me "You do
not have permission to access / on this server.

It is differentiating between the two sites and is no longer returning
the 1st (default site) home page when access with 2nd url. But I cannot
seem to get it to let me view the website.

Below is the section out of my httpd.conf file:

NameVirtualHost *

<VirtualHost *>
        
        ServerName www.darrpalmer.com
        ServerAlias darrpalmer.com *.darrpalmer.com
        DocumentRoot /var/www/html
        ServerAdmin webmaster@darrpalmer.com

</VirtualHost>

<VirtualHost *>
        
        ServerName www.bluewateraccess.com
        ServerAlias bluewateraccess.com *.bluewateraccess.com
        DocumentRoot /var/bluewateraccess/html
        ServerAdmin webmaster@bluewateraccess.com

</VirtualHost>

Any help, tips, suggestions or offers of free advice will be greatly
appreciated.

Of course my next issue will be getting multiple mail domains going :(

Darr Palmer



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 16:05:44 EDT