one more (I'm sorry)

Ben Pfaff pfaffben@msu.edu
12 Jul 2000 09:03:56 -0400


Sean <picasso@madflower.com> writes:

> you use a virtual host directive in apache, and have th machine name
> aliased in your dns records.

Specifically something like this:

# Main host
<VirtualHost pfaffben.user.msu.edu>
ServerName pfaffben.user.msu.edu
DocumentRoot /var/www
#ErrorLog /var/log/apache/error.log
#TransferLog /var/log/apache/access.log
</VirtualHost>

# Secondary host
<VirtualHost www.gllug.org>
ServerName www.gllug.org
DocumentRoot /var/www/gllug
</VirtualHost>

Not that I've done this before or anything... :-)