Microsoft Knowledge Base Email Alertz

When you connect to a site by using the IP address or server name through a Web browser, you may receive the following error message:

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 300238 - Last Review: July 7, 2008 - Revision: 5.1

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:
http://www.microsoft.com/technet/security/prodtech/IIS.mspx (http://www.microsoft.com/technet/security/prodtech/IIS.mspx)
For more information about IIS 7.0, visit the following Microsoft Web site:
http://www.iis.net/default.aspx?tabid=1 (http://www.iis.net/default.aspx?tabid=1)

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 Found Internet 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  (http://kbalertz.com/Feedback.aspx?kbNumber=190008/EN-US/ ) HOW TO: Use Host Header Names to Host Multiple Sites from One IP Address in IIS 5.0

APPLIES TO
  • Microsoft Internet Information Services 6.0
  • Microsoft Internet Information Server 4.0
  • Microsoft Internet Information Services 5.0
Keywords: 
kbpending kbprb KB300238
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate