Hello,
I am migrating web sites to a set of load balanced IIS 8.5 servers from a single IIS 7 server.
I migrated 20 web sites, they are all good, I have defined several binding for each web sites :
Three bindings on the first server :
One binding to access the MyWebApp on the first server using a port:
http://server1.acme.com:1901/
One binding to access the MyWebApp on the first server using a DNS:
http://MyWebApp-1.acme.com/
One binding to access the MyWebApp using the load balancer using a DNS:
http://MyWebApp.acme.com/
Then, on the second server, I have the counterpart:
One binding to access the MyWebApp on the first server using a port:
http://server2.acme.com:1901/
One binding to access the MyWebApp on the first server using a DNS:
http://MyWebApp-2.acme.com/
One binding to access the MyWebApp using the load balancer using a DNS:
http://MyWebApp.acme.com/
For 2 of the 20 web sites, I have a 401 but only when using the first two bindings, coming from the load
balancer, it does work !!
Both applications have a redirect to a sub web site, here are the requests, prefixed with the results for each :
200 http://MyWebApp15.acme.com/sub/Infos.aspx
401 http://server1.acme.com:1915/sub/Infos.aspx
401 http://MyWebApp15-1.acme.com/sub/Infos.aspx
401 http://server2.acme.com:1915/sub/Infos.aspx
401 http://MyWebApp15-2.acme.com/sub/Infos.aspx
The root web site (MyWebApp15.acme.com) is defined with Anonymous Access and the sub web site is ASP.Net Impersonation and Windows Auth.
Before having the error, I have the Windows prompt for credentials but entering my credentials doesn't let me in.
The application pool runs under Windows Service account.
The IUSR, the Windows Service and Domain Users, all have Read & Execute access to the folder that contains the code.
The load balancer is not handled by me so I don't know much about it but I am told that the configuration is the same as for the other web sites that are working on that server.
Hoping you could help me understand and fix this problem, thank you,
Claude VERNIER