Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jan 2002 10:54:26 -0500
From:      "Matthew P. Marino" <bind9@citystamp.com>
To:        "Gerald T. Freymann" <freymann@eagle.ca>
Cc:        freeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Apache Virtual Domains: Quick Config Question
Message-ID:  <3C45A233.8661F8A5@citystamp.com>
References:  <3C45581E.9376.745C91@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
Your on the right track. You'll need to read up on the exact syntax. You also
need to make sure your "listen" directives are listening on both IP's and that
your DNS, beit hosts or BIND or DJBDNS has entries for both IP's or Apache will complain.

"Gerald T. Freymann" wrote:
> 
> This is probably a stupid question but thought I should verify..
> 
> In apache, when it comes to Virtual Domains...
> 
> Can you set up the httpd.conf file to mix ip-based domains and name-
> based domains?
> 
> I'm thinking sure, why not.
> 
> I would like to set up a test box where IP a.b.c.d is one domain based
> on the ip-based virtual domain scheme and another IP a.b.c.e is then
> used to host a bunch of name-based domains.
> 
> If I put this:
> 
>     NameVirtualHost a.b.c.e
> in httpd.conf, then I can point domains to the IP # of a.b.c.e and use
> that name-based domains...
> 
> At the same time, if I put the IP# a.b.c.d in the <Virtual Host> tag, will
> that separate the two?
> 
> What I want is 1 ip for a specific domain
> And then to use a second ip for a bunch of name-based domains.
> 
> Make sense?
> 
> gf
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

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?3C45A233.8661F8A5>