Host Name to IP Address Redirection in an IIS URLLast reviewed: April 18, 1997Article ID: Q155252 |
The information in this article applies to:
SYMPTOMSA client browser accessing a Microsoft Internet Information Server (IIS), using a fully qualified domain name in the URL such as
HTTP://myserver.mycompany.comor a host/computer name such as
HTTP://myservermay result in a URL redirection of host name to IP address, for example
HTTP://ipaddresswhere ipaddress is your host server’s IP address.
WORKAROUNDBelow are several ways to work around this issue: two methods to minimize this issue in IIS 1.0, a way to resolve it in IIS 2.0, and a way to resolve the issue by changing the registry of IIS. Host name to IP address redirection may occur on an IIS version 1.0 or 2.0 server. This issue can be resolved on an IIS version 2.0 server that is accessed by a browser client that also supports the use of Host Headers and can be minimized on an IIS 1.0 server or client browser that does not support the use of Host Headers. To minimize the IP address redirection on an IIS 1.0 server, use the complete path to the HTLM file in the URL, for example:
HTPP://myserver.mycompany.com/samples/default.htm.-or- End the URL with a forward slash, for example:
HTPP://myserver.mycompany.com/samples/.However, the issue may still occur on IIS 1.0. To resolve the issue in IIS2.0, use Host Headers. Host Headers can help prevent the unexpected substitution of the the IP address for the host name in the URL. Browsers such as the Microsoft Internet Explorer version 3.0 also support the use of Host Headers. The web master can also make a change to the registry of the IIS 2.0 server to help prevent the IP address redirection on older browser clients. The new registry entry is ReturnURLUsingHostName; its use is described below. WARNING: Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to reinstall Windows NT to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk.
|
Additional query words: prodiis
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |