Error Message: "No Web Site Is Configured At This Address" When Using Host Headers

This article was previously published under Q300238
We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 7.0 running on Microsoft Windows Server 2008. IIS 7.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site:For more information about IIS 7.0, visit the following Microsoft Web site:
SYMPTOMS
When you try to connect to a site by using the IP address, NetBIOS name, or Fully Qualified Domain Name (FQDN), the following error message may appear in the browser:
The page cannot be found

HTTP 404 - File Not FoundInternet Explorer
-or-
No web site is configured at this address
CAUSE
A connection is being to be made to a Web site that is using one or more host headers, and the host name that is being requested does not match any of the host headers that are configured for that site.
WORKAROUND
To work around this problem, use one of the following methods:
  • If you want to be able to connect to the Web site by using an additional host name, add it to the list of host headers for that site:
    1. Start the Internet Service Manager (InetMgr.exe).
    2. Right-click the Web site to be configured, and then click Properties.
    3. On the Web Site tab, select the IP address that the site will use.

      NOTE: If you only have one IP address on the server, select All Unassigned, and then set the TCP port that you want to use (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 Add, and then add the host header name.
    7. Apply these changes, and then start the Web site (if it is not already running).
  • Remove all host header entries:
    1. Start the Internet Service Manager (Iis.msc).
    2. Right-click the Web site to be configured, and then click Properties.
    3. On the Web Site tab, select the IP address that the site will use.

      NOTE: If you only have one IP address on the server, select All Unassigned, and then set the TCP port that you want to use (usually 80).
    4. Click Advanced.
    5. In the Multiple identities for this Web Site list, select the identity that contains the host header that you want to remove.
    6. Click Edit, and then delete the host header.
    7. Apply these changes, and then start the Web site (if it is not already running).
MORE INFORMATION
For additional information on host headers, click the article number below to view the article in the Microsoft Knowledge Base:
190008 HOW TO: Use Host Header Names to Host Multiple Sites from One IP Address in IIS 5.0
host headers iis 4 web site
Properties

Article ID: 300238 - Last Review: 07/07/2008 21:16:06 - Revision: 5.1

Microsoft Internet Information Services 6.0, Microsoft Internet Information Server 4.0, Microsoft Internet Information Services 5.0

  • kbpending kbprb KB300238
Feedback