Last reviewed: November
17, 1998
Article ID:
Q190008
The information in this article applies to:
Host header names can be used to host multiple domain names from one IP address. To do this, perform the following steps:
NOTE: If you want this site to respond to more than one host header name, use the Add button to add additional identities to this list. Specify a different host header name for each identity, but be sure to use the same IP address and port.
If the computer is on an intranet (a private LAN that uses Internet technology), register it with the intranet's name resolution system, such as the Windows Internet Name Service (WINS).
If the computer is on the Internet, register the host header name with the Domain Name System (DNS), which is administered by InterNic.
WARNING: Do not use a host header name with the default Web site. This can cause erratic behavior with add-on packages for IIS (such as Microsoft Proxy Server) that expect the default Web site to use the IP address of "All Unassigned", TCP port 80, and have no host header name.
To distinguish one Web site from another on the same computer, IIS uses the following three elements:
As long as at least one of these three items is unique for each Web site, IIS can manage multiple sites.
When IIS receives a request for a Web page, it looks at the information sent in by the browser. If the browser is HTTP 1.1 compliant (for example, Internet Explorer 3.x and later, or Netscape Navigator 3.x and later), the HTTP header contains the actual domain name requested. IIS uses this to determine which site should answer the request.
For additional information, see the following topics in the Windows NT Option Pack documentation:
- Server Administration - Name Resolution- About Name Resolution
- Server Administration - Web and FTP Sites- Naming Web Sites
If the browser is not HTTP 1.1 compliant, there is a way to program a core page to display all sites available and allow the user to choose which site to use. For instructions on how to do this, refer to the following documentation:
- Server Administration - Web and FTP Sites- Supporting Host Header Names in Older Browsers
For additional information, see the following article in the Microsoft Knowledge Base:
ARTICLE-ID : Q186810 TITLE : Event ID 115 When Using Host Headers With IIS
Multiple e-mail domains to one IP address can be done easily with correct configuration of the MX records in the DNS and your mail server. To the best of my knowledge the best you can do is DNS multiple domains to the same IP and restrict access for each user login for particular directories i.e.
ftp.customera.com -> 10.100.10.90
ftp.customerb.com -> 10.100.10.90
When customera logs on to ftp.customera.com then his initial directory will be /customera and this will be the only directory he has access to. The same setup for customerb
This is covered well in the NT 4.0 Option Pack online documentation.
You create "host header names". In the MMC Internet Service Manager, select the server name under IIS, and do the New action to get to New Website. Then you assign the IP address of the computer and port 80 and the home directory for the web site.
Then you have to create a CNAME DNS entry for the website name that you want to use which points to the NT Server name where the website resides (NOT the default web server name).
file: /Techref/inet/iis/dns/1ip2url.htm, 7KB, , updated: 1999/3/17 17:11, local time: 2024/11/21 13:12,
3.149.25.109:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://techref.massmind.org/techref/inet/iis/dns/1ip2url.htm"> Using Host Header Names to Host Multiple Sites from 1 IP Address</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to techref.massmind.org! |
.