I have a website that runs on IIS that uses windows authentication.
On the website level, under 'Authentication' I have only Windows Authentication
(NTLM only as a provider) enabled.
On the virtual directory level, under 'Authentication', I have ASP.NET Impersonation
and Windows Authentication
(NTLM only as a provider) enabled. (Disabling ASP.NET Authentication
here does not change anything)
- The IP address of the server running IIS is: 172.0.0.10
- The computer name of the server running IIS is: myiisserver
- The FQDN on the server running IIS is: myiisserver.mydomain.com
- A DNS 'A Record' exists to point 172.0.0.10: myapp.mydomain.com
On the website bindings, I have:
Type | IP Address | Port | Host Name
--------------------------------------------------------------
http | All Unassigned | 80 | localhost
http | All Unassigned | 80 | myiisserver
http | All Unassigned | 80 | myiisserver.mydomain.com
http | All Unassigned | 80 | myapp.mydomain.com
This is the only website that I have running on the IIS server.
The App Pool running the web site and the virtual directory is the same and uses 'NetworkService' as the identity.
On the IIS server and on other workstations in the network:
- myiisserver is added to 'Trusted Sites'
- myiisserver.mydomain.com is added to 'Trusted Sites'
- myapp.mydomain.com is added to 'Trusted Sites'
On the trusted sites zone, Automatic logon using current user name and password
is selected on the IIS server and other workstations.
On Internet Options -> Advanced, Enable Integration Windows Authentication
was enabled on the IIS server and other workstations.
On other workstations in the network:
- http://myiisserver works OK
- http://myiisserver.mydomain.com works OK
- http://myapp.mydomain.com works OK
On IIS server:
- http://localhost works OK
- http://myiisserver works OK
- http://myiisserver.mydomain.com works OK
- http://myapp.mydomain.com works DOES NOT WORK - Prompts for User name and password - Entering a user name and password that has access to the resources does not work and it continues to prompt for user name and password. Any suggestions to get this to work on the IIS server?