IIS 5 & IIS 6
Authentication pop-up comes when using ip address but not with hostna...
Last post Apr 06, 2012 01:28 PM by webRonin
Apr 16, 2010 09:32 PM|Prem Mehrotra|LINK
I am on IIS 6.0. I have set anonymous access enabled under directory security. In my DNS server name (server1) and its ip address are mapped.
I access web site using server name:
Page comes up without problem,
However when I access web site using ip address:
Then a Windows Authentication Pop –Up comes asking me for user and password. Why? How I can get rid of the pop-up.
Apr 16, 2010 10:02 PM|tomkmvp|LINK
IE configuration issue ...
Apr 16, 2010 10:30 PM|Prem Mehrotra|LINK
Thanks a lot. I did read that kb article, but do not understand why host name works but not ip address. I thought dns converts hostname to ip address before invoking iis web site. If there is any anonymous caccess configuration isuue, won't it will apply
to both hostname and ip address.
Apr 17, 2010 03:48 AM|Prem Mehrotra|LINK
I was able to resolve this error by looking at event Viewer Security Logs. My anonymous login password had some issue, but what surprises me is why IIS is not checking password when server name is used in URL instea do IP address,
Apr 17, 2010 07:14 PM|tomkmvp|LINK
why IIS is not checking password when server name is used in URL instea do IP address
It's really no mystery.
First of all, if you're using Windows Integrated authentication, then when it's configured correctly there will not be a prompt for credentials. IE knows how to pass them in the background.
Finally, when using the server name to browse, IE understands that the server is on your intranet and sends the credentials. When using the IP address, IE does not trust the server and thus does not fully implement Windows Integrated authentication and
forces a prompt for credentials. You can confirm in all cases that the user is in fact authenticated by checking the IIS log file for the requests in question - you should see the authenticated user's name in the log entry.
Apr 06, 2012 01:28 PM|webRonin|LINK
I hate resurrecting old threads like this but the problem I'm having is so similar I thought you might have the answer.
I've just set up a clustered 2008 R2 server running IIS7.5. Windows Authentication. I have multiple sites running on it and everything is accessible through the load-balanced virtual IP. The problem starts when I try to read directly to either of the
nodes. If I attempt http://server1, I will be challenged. However if I place an entry in my local HOSTS file for that server and associate the machine's IP with a different name, say serverA, then http://serverA works fine.
I'm feeling this may be more of a DNS issue but I'm not sure. The confusion is compounded by the fact that two of the sites
are reachable while the remainder are not. I am running a single IP/multiple port server so http://server1:50001 will work but http://server1:50002 with stop and challenge.
I've gone through all the settings...I've deleted and recreated the non-functioning sites....I've swapped ports to see if the 'working' ports will work for the non-functioning sites (they didn't)... I've placed the non-functioning site's process within the
functioning site's app pool.... nothing has worked.
It is holding up the cluster from going into production since the need is felt to be able to bypass the load-balancer should there be a catastrophic failure.
I hope something I've mentioned jogs someone's memory. This has been driving me nuts for a while now.