Microsoft KB Archive/283912

= Search does not resolve localhost to the server name =

Article ID: 283912

Article Last Modified on 2/27/2007

-

APPLIES TO


 * Microsoft SharePoint Portal Server 2001
 * Microsoft Office SharePoint Portal Server 2003

-



This article was previously published under Q283912





SYMPTOMS
If you create a content source for a URL that contains &quot;localhost&quot;, (for example, http://localhost/site), and then create a site path rule that refers to the same site, but you use the actual server name instead of localhost, for example http:// /site/subdir, the site path rule may not be applied.

You may experience the same symptoms if you use the server name in the content source path, but use localhost in a site path rule.



CAUSE
This behavior is by design. The indexer processes URLs and not IP addresses. Localhost is a different URL than the one that contains the server name, and is treated differently for indexing purposes.



RESOLUTION
To resolve this issue, use either localhost or the server name consistently. If your server has multiple host names, you should always use the server name.

Additional query words: universal resource locator

Keywords: kbprb KB283912

-

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

© Microsoft Corporation. All rights reserved.