Microsoft KB Archive/300238

= Error Message: &quot;No Web Site Is Configured At This Address&quot; When Using Host Headers =

Article ID: 300238

Article Last Modified on 12/3/2007

-

APPLIES TO


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

-



This article was previously published under Q300238



We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 6.0 running on Microsoft Windows Server 2003. IIS 6.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



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:
 * Start the Internet Service Manager (InetMgr.exe).
 * Right-click the Web site to be configured, and then click Properties.
 * 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).
 * Click Advanced.
 * In the Multiple identities for this Web Site list, select the identity that you want to use.
 * Click Add, and then add the host header name.
 * Apply these changes, and then start the Web site (if it is not already running).
 * Remove all host header entries:
 * Start the Internet Service Manager (Iis.msc).
 * Right-click the Web site to be configured, and then click Properties.
 * 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).
 * Click Advanced.
 * In the Multiple identities for this Web Site list, select the identity that contains the host header that you want to remove.
 * Click Edit, and then delete the host header.
 * 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

Additional query words: host headers iis 4 web site

Keywords: kbprb kbpending KB300238

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.