Still getting my head around this - Re: Parking other domains.

Barry Margolin barmar at genuity.net
Thu Jun 22 19:12:19 UTC 2000


In article <pCl45.8$pp6.1430 at nsw.nnrp.telstra.net>,
Robert Chalmers <robert at chalmers.com.au> wrote:
>However - and this is the 64K dollar question.
>
>If I use the same number - 200 - for all such parked domains, how will the
>service ever work out what is being returned?
>Wont' named break because its trying to reference two domain on the same
>number?
>What if BOTH domains are actually accessed at the same time.

When you configure the virtual host in the web server configuration, you
specify the host name, not the IP address.  When a browser connects to your
web server, it includes a header telling it the host name that was in the
URL, and the web server uses this information to determine which virtual
host to display.

The fact that both virtual hosts have the same IP address isn't a problem,
unless someone is using an ancient browser that doesn't send the Host:
request header.

If you need more information about this, I suggest you go to the
comp.infosystems.www.servers.<yourOS> newsgroup.

-- 
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