views:

37

answers:

0

Hi

I've posted this on Serverfaults also, but since it is a development problem to me, I'll try it here also.

I have a ASP.NET web app with normal login controls.

When I type in the following in my web broser: http_://localhost/WebApp1 The page renders, I input my login credentials, and I get logged in.

But when I type the following in my web broser: http_://machine1/WebApp1 The page renders, I input my login credentials, but I don't get logged in.

(I had to add the "_" to the URL because stackoverflow interpreted them as possible spam)

I have changed every authentication (impersonation, connection string) that I know of, using iisreset every time, but nothing seems to help.

Nothing shows in the EventViewer.

I realize that localhost uses the hosts file and directly accesses the 127.0.0.1 IP adress, whereas the real machine name does an actual lookup, but I don't get how these two sessions differ from IIS point of view.

I'm stuck. Can anybody please help?