How can I host multiple web sites on a single IP address?
January 8, 2000
A. A single IIS server can host multiple web sites and normally eachweb site is tied to a IP address however if the machine only has one IP addressit can still be configured to host multiple web sites by specifying a hostheader name for each web site as follows (you should first ensure you havemultiple DNS entries all pointing to the IP address of the machine):
Start the Internet Information Services MMC snap-in (Start - Programs - Administrative Tools - Internet Information Services)
Expand the server
Right click on the web site and select Properties
Next to the IP address (ensuring the actual IP address is selected) click the Advanced button
Select the IP address entry and click Edit
Enter the DNS host entry for the web site and set the port to 80, e.g. www.ntfaq.com
Click here to view imageClick OK
Click OK to the main dialog
Repeat for all other web sites
When the client connects the DNS name requested is passed in the header asthe host name and that is what is mapped.
If the Web site requested in the host header is stopped, the client receives the default Web site. Therefore, it is recommended that an ISP use the default Web site as the ISP home page, rather than for a customersite. Multiple sites on a single Professional installation is not supported.
Also do not configure a header host name for the default web site as this maycause problems for other packages such as Proxy Server which expect the defaultweb site to use port 80, IP address of "All Unassigned" and no hostheader name.
About the Author
You May Also Like