Reputation: 5496
I have hosted my website on local IIS server 7.5 and configured Windows Authentication. When I try to access the url with the hostname, it asks username and password through Windows Security form whereas when I access the url with the localhost, it doesn't asking username and password.
Can any help me to go through?
Thanks in advance...
Upvotes: 4
Views: 8150
Reputation: 6372
If you are using Internet Explorer and typing your user name and password in manually will allow you to log in, you can just add the site's hostname into your intranet zone.
Otherwise you may be running into the loopback check issue. This can be resolved by adding the hostname into a registry key and restarting the IIS Admin service.
You can find the details of how to do this here: http://support.microsoft.com/kb/896861
The article says IIS 5.1 and above but the steps are still relevant.
Upvotes: 5