[thelist] Remove Network Place from Microsoft Windows Network(WinXP)

Ken Schaefer ken at adOpenStatic.com
Mon Jan 19 18:38:16 CST 2004


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: "Joel D Canfield" <joel at spinhead.com>
Subject: RE: [thelist] Remove Network Place from Microsoft Windows
Network(WinXP)


...
:
: Reminder: if you post anything *not* web dev related,
: include a tip. And if you reply to anything off-topic, you
: owe a tip, too.
:
: <tip author="spinhead" type="Hosting multiple sites on one IP address
: with Microsoft IIS">
: Want to run your own Windows web server, but only want to
: pay for one static IP address? Learn about 'headers', the
: method by which IIS can sort out multiple websites from
: requests arriving on the same IP address.</tip>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

When posting tips, it would also be helpful if they were technically
accurate.

The HTTP specification defines a "host" header, which the client sends to
the server to indicate which (in the case of the WWW) website the client
wants the particular resource (eg webpage, image) from. In this sense, the
Host: header is no different to any of the other HTTP headers (such as
Accept, Expires, Cache-Control etc).

So, technically, IIS does not use "headers" to sort out multiple websites
from requests. IIS uses the "host" HTTP header sent by the client to
determine which website the resource should be served from. Just like every
other HTTP 1.1 compliant webserver. (So, it's not even an IIS specific
thing).

For more information on how to configure host-headers when using IIS:

http://support.microsoft.com/?id=324287
HOW TO: Use Host Header Names to Configure Multiple Web Sites in Internet
Information Services 6.0

http://support.microsoft.com/?id=190008
HOW TO: Use Host Header Names to Host Multiple Sites from One IP Address in
IIS 5.0

Cheers
Ken

Microsoft MVP - Windows Server (IIS)



More information about the thelist mailing list