NEWBIE DNS QUESTION

Barry Margolin barmar at genuity.net
Thu Jun 1 18:31:30 UTC 2000


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