Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jan 2002 18:03:52 +0300
From:      "Andrey Simonenko" <simon@comsys.ntu-kpi.kiev.ua>
To:        "ScaryG" <freymann@eagle.ca>
Cc:        "freeBSD Questions" <freebsd-questions@freebsd.org>
Subject:   Re: Apache Virtual Domains: Quick Config Question
Message-ID:  <009201c19e9f$02c5f140$6d36120a@comsys.ntukpi.kiev.ua>
References:  <3C455B4E.6992.80D010@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help

----- Original Message ----- 
From: ScaryG <freymann@eagle.ca>
To: Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua>
Cc: freeBSD Questions <freebsd-questions@freebsd.org>
Sent: Wednesday, January 16, 2002 6:51 PM
Subject: Re: Apache Virtual Domains: Quick Config Question


> On 16 Jan 2002 at 17:36, Andrey Simonenko wrote:
> 
> > There is a special section in the Apache documentation. Please read
> > it, this section discusses your problem.
> 
>  Thanks, I'm aware of that. I've read it, I'm confused, that's why I 
> posted.
> 
>  Do I need to use the BindAddress for the main domain on the first ip 
> #
> 
>  and then set the NameVirtualHost to the other ip #?
> 
>  Then, in the <virtualhost> tags, use the 1st ip in the tag for the 
> 'main domain' and the second ip in the tag for all the other name-
> based domains.
> 

As I understood you don't need to use BindAddress, instead:

1.specify "Listen 80" - http #port
2. specify "NameVirtualHost IP1", "NameVirtualHost IP2".
3. create <VirtualHost IP1 IP2 IP3> for all your vhosts, each
of VirtualHost section should have "ServerName", etc.

Suppose this will work, at least it work on my system: there are
some vhosts on some the same IP addresses and there are
some vhosts on their own IP addresses.



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?009201c19e9f$02c5f140$6d36120a>