Microsoft KB Archive/922735

= You receive an HTTP 404 error message or a &quot;Cannot find server or DNS error&quot; error message when you try to view a Web page that is hosted on a Web server that is running IIS 5.0 =

Article ID: 922735

Article Last Modified on 12/6/2006

-

APPLIES TO


 * Microsoft Internet Information Services 5.0

-



SYMPTOMS
Consider the following scenario. You try to view a Web page that is hosted on a local Web server. The local Web server is running Microsoft Internet Information Services (IIS) 5.0. In this scenario, you may receive an error message that resembles the following:

Cannot find server or DNS error

When you try to view a Web page that is hosted on a remote Web server that is running IIS 5.0, you may receive an error message that resembles the following:

HTTP 404 -File not Found



CAUSE
This problem occurs because the Web site is configured to use a host header, and the host header contains white spaces.



RESOLUTION
To resolve this problem, modify the host header. To do this, follow these steps:
 * 1) Start Internet Services Manager, and then expand the Web server that you want.
 * 2) Right-click the Web site that you want, and then click Properties.
 * 3) Click the Web Site tab, and then click Advanced.
 * 4) Click the host header name that you want to modify, and then click Edit.
 * 5) In the Host Header Name box, type a name that does not include white spaces, and then click OK three times.

Keywords: kbtshoot kberrmsg kbprb KB922735

-

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

© Microsoft Corporation. All rights reserved.