When we create a SharePoint web application with host header and try to access the same within the same server, we may keep on get prompted for user name and password. However the same application will be accessible from other machines in the same domain. This section provides a resolution for the issue.
Problem:
1. Create a web application (windows authentication) with a host header (Ex: abclimited.com)and create the corresponding site collection.
2. Add relevant entry in the Hosts file.
3. Enter the URL of the site collection which was created above (http://abclimited.com ) in Internet Explorer and hit Enter.
4. You will be prompted for the User name and password.
5. Even after repeated entry of correct user name and password, you will not be authenticated and site will not appear.
Solution:
To avoid the above problem, the following steps need to be followed.
(Reference: http://support.microsoft.com/default.aspx/kb/896861)
1. Click Start, click Run, type regedit, and then click OK.
2. In Registry Editor, locate and then click the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0
3. Right-click MSV1_0, point to New, and then click Multi-String Value.
4. Type BackConnectionHostNames, and then press ENTER.
5. Right-click BackConnectionHostNames, and then click Modify.
6. In the Value data box, type abclimited.com and then click OK. Quit Registry Editor.
7. After completion of all these steps, the site should appear fine with the URL http://abclimited.com. (If the site does not come up with the given URL, restart the IISAdmin service and try again.)