Re: Apache Virtual Host
make sure you have this in httpd.conf:
NameVirtualHost 0.0.0.0 (make sure you have your ip in here!!)
<VirtualHost 0.0.0.0 (same here!)>
ServerAdmin webmaster@yourdomain.com
DocumentRoot /var/www/yourdomain.com
ServerName www.yourdomain.com
ServerAlias yourdomain.com
ErrorLog /var/log/apache/yourdomain.com-error.log
TransferLog /var/log/apache/yourdomain.log
</VirtualHost>
-c
----- Original Message -----
From: "Leonard Leblanc" <lleblanc@emergeknowledge.com>
To: "Debian User Request Mailing LIst" <debian-user@lists.debian.org>
Sent: Thursday, February 08, 2001 9:57 PM
Subject: Apache Virtual Host
> Hey all,
>
> I've been working on this for a couple of days and can't figure out why
it's
> giving me sooo much trouble, but I just can't seem to get a virtual host
> working with apache. I would like to have a "development" site of
> 'test.domain.com' and just can't seem to figure it out. It's the same
> computer so I believe (if I got anything out of the many many docs i've
> read) it's called 'named-virtual hosting'.
>
> I am using Apache 1.3.9 with Debian 2.2.16.
>
> Any thoughts, sample configs (httpd.conf, etc.) or anything else would be
> helpful
>
> Thanks
> Leonard Leblanc
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
>
Reply to: