NEWBIE DNS QUESTION
Robert Balahura
rj-balah at sciborg.uwaterloo.ca
Fri Jun 2 17:36:27 UTC 2000
Hi Barry,
Thanks, the granitecanyon is not yet reloaded. But I was wondering what
files using linux/apache to alter for the virtual host. Is it just
http.conf that checks for the HOST: request-header and then redirects
requests to a particular directory?
-----Original Message-----
From: news at burlma1-snr2.gtei.net [mailto:news at burlma1-snr2.gtei.net]On
Behalf Of Barry Margolin
Sent: Thursday, June 01, 2000 2:32 PM
To: comp-protocols-dns-bind at moderators.isc.org
Subject: Re: NEWBIE DNS QUESTION
In article <3935D7C5.7CCDE186 at swbell.net>,
Bill Polhemus <bpolhem at swbell.net> wrote:
>Not really, but when the packets get there, what are they supposed to do?
The web server looks at the hostname in the "Host:" request-header and
looks up the corresponding virtual root directory in its configuration
file. WTP?
>If you are running, e.g. Linux, you'd be better off (assuming you have an
>extra IP number lying around that you don't need) to bind
>TWO IP numbers to your ethernet card (*nixes will let you do this; I
>don't think wind-blows will, though), and then point one domain
>to one, and the other to the other.
>
>Makes internal configuration a whole lot easier.
You haven't heard of name-based virtual hosting? Please, let's not
encourage people to waste IP addresses any more than is necessary. The
internal configuration isn't really that different; in one case you specify
IP addresses, in the other you specify hostnames.
--
Barry Margolin, barmar at genuity.net
Genuity, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the
group.
More information about the bind-users
mailing list