|
|
|
SUMMARY
=======
Host header names can be used to host multiple domain names from one IP
address. To do this, perform the following steps:
1. Start the Internet Service Manager (ISM), which loads the Internet
Information Server (IIS) snap-in for the Microsoft Management Console
(MMC).
2. Right-click the Web site that should use a host header name, and then
click Properties on the shortcut menu.
3. On the Web Site tab, select the IP address that the site should use (if
you only have one IP address on the server, select All Unassigned), and
set the TCP Port that should be used (usually 80).
4. Click Advanced.
5. In the "Multiple identities for this Web Site" list, select the
identity that you want to use.
6. Click Edit, and then add the desired host header name.
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.
7. Apply these changes and start the Web site (if it is not already
running).
8. Register the host header name with the appropriate name resolution
system.
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.
9. After the host header name is registered with the name resolution
system, test it from a browser by attempting to browse the host header
name. The browser should open the expected Web site.
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.
MORE INFORMATION
================
To distinguish one Web site from another on the same computer, IIS uses
the following three elements:
- TCP/IP address
- TCP port
- Host header name
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:
- Microsoft Internet Information Server
- Server Administration
- Name Resolution
- About Name Resolution
- Microsoft Internet Information Server
- 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:
- Microsoft Internet Information Server
- Server Administration
- Web and FTP Sites
- Supporting Host Header Names in Older Browsers
|
|
| Index Server FAQ Categories : MS Index Server, WinNT, IIS, Web Servers | | | This Knowledge Base article will briefly describe the steps
involved to set up remote debugging for use with Visual
InterDev Version 6.0 Categories : WinNT, Debugging, IIS, Web Servers | | | How can i add mime types to IIS 3.0 and IIS 4.0? Categories : IIS, WinNT, Web Servers | | | Setup IIS using only 1 ip address and 1 ssl key but have
multiple websites Categories : WinNT, IIS, Web Servers | | | windows nt php/3 file upload script Categories : Filesystem, PHP, IIS, WinNT, Web Servers | | | How to use the IIS Exception Monitor Categories : IIS, Debugging, WinNT, Web Servers | | | enable/disable the cookies system-globaly Categories : IIS, Cookies, WinNT, Web Servers | | | The purpose of this article is to describe the process in
creating scheduled mail-outs using Windows Scripting Host
(WSH) and the email features of the SMTP service's
CDONTS.NewMail object. Categories : WinNT, IIS, Email, Web Servers | | | how to activate connection pooling in IIS 3 and IIS 4, for access via ODBC to SQL Server 6.5
Categories : IIS, ODBC, MS SQL Server, Web Servers, Databases | | | Why do i get a "Save As" dialog box when I type in the url of a php3 file Categories : PHP Configuration, PHP, Apache, Web Servers | | | PostgreSQL and apache web authentication source.
Categories : Authentication, PostgreSQL, Apache, Web Servers | | | WebServerSpy checks which kind of Webserver is running, Apache, Netscape, Fasttrack, IIS, HTTP-Header, HTTP 1.0, GET, spy, WWW Categories : HTTP, Network, Apache, PHP, Web Servers | | | gd libraries make gmake php3 apache-1.3.0 gd1.3 FreeBSD-2.2
Categories : Installation, PHP, Apache, Web Servers | | | Installing Oracle support to PHP running in Apache Categories : PHP Configuration, Apache, Oracle, Databases, Web Servers | | | Step by Step Instructions on How To Install SQL Server 7.0
on Microsoft Cluster Server Categories : WinNT, MS SQL Server | |
|
|
|