Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jan 2002 10:38:22 -0500
From:      "Gerald T. Freymann" <freymann@eagle.ca>
To:        freeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Apache Virtual Domains: Quick Config Question
Message-ID:  <3C45581E.9376.745C91@localhost>

next in thread | raw e-mail | index | archive | help
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




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