Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jan 2002 11:28:42 -0500
From:      "ScaryG" <freymann@eagle.ca>
To:        devin-freebsdquestions@rintrah.org, freebsd-questions@freebsd.org
Subject:   Re: Apache Virtual Domains: Quick Config Question
Message-ID:  <3C4563EA.2394.A2740E@localhost>
In-Reply-To: <20020116111825.B832@tharmas.rintrah.org>
References:  <20020116110527.A832@tharmas.rintrah.org>; from devin-freebsdquestions@rintrah.org on Wed, Jan 16, 2002 at 11:05:27AM -0500

next in thread | previous in thread | raw e-mail | index | archive | help
On 16 Jan 2002 at 11:18, devin-freebsdquestions@rintra wrote:

> Sounds like you want:
> BindAddress *
> ServerName static.ip.name
> NameVirtualHost a.b.c.d
> 
> <VirtualHost a.b.c.d>
> ServerName virtualname1.whatever.whatever
> ...
> </VirtualHost>
> etc...

 Sure, that's another method that looks good.

> The proper DNS entry will ensure that requests for the static IP go to
> that interface.

 This is not a problem for me (doing proper DNS entries)

> BindAddress has to be * in this case. Otherwise Apache will listen to
> only 1 IP (I think).

 Or, can you specifiy both IP numbers?

> I think you will need 1 set of VirtualHost tags for each domain going
> to the second IP, though. I.e. multiple tags, unless you want all the
> domain names to point to exactly the same thing.

 Yes, that was the plan. Each web site will have their own set of 
<VirtualHost> tags...

 I'm just trying to confirm how to have one domain on one ip, and a 
bunch of named-based domains on a second IP.

 I think I have enough info to get testing with.

Thanks!

gf
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Gerry Freymann - Senior Systems Manager
eagle.ca Internet Services www.eagle.ca
Voice: 905-373-9313 Fax: 905-373-1801
http://www.eagle.ca/support
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


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?3C4563EA.2394.A2740E>