Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Sep 2000 01:30:37 CDT
From:      "Konan Houphoue" <bahobab@hotmail.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Virtual Host Question
Message-ID:  <F238jBOh8s4KWiGtXsL00009419@hotmail.com>

next in thread | raw e-mail | index | archive | help
Hi all,

I'm running Apache 1.3 with FreeBSD 4.0.
I have 2 domins registered, say a.com and b.com that resolve to the same IP 
address configured at my ISP.
I've set a name virtual host section in /usr/local/etc/apache/httpd.conf for 
b.com as follow:

NameVirtualHost 1.2.3.4:80 #ip_address:port
<VirtualHost 1.2.3.4>
ServerAdmin me@myserver.b.com
DocumentRoot /usr/local/www/b #directory exists
ServerName www.b.com
ErrorLog /var/log/b/error_log #created
CustomLog /var.log/access_log #created
</VirtualHost>

The problem is that invoking www.b.com still points at www.a.com 
directory/documents (the default).

***I also noticed that the file /var/run/httpd.pid does not exist as 
specified by PidFile directive in httpd.conf.
Instead I have /var/run/apache.pid.

Any help, please.

Thanks,

Konan
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F238jBOh8s4KWiGtXsL00009419>