I have an intranet site that our customer needs to access both internally and from the internet. The site has access restricted with Window Authentication.
The problem is that the site works when access externally, but fails with a 401.1 when accessed from within the local network. Why would the authentication fail locally?
DETAILS
- The site is running on Windows Server 2003 and IIS 6
- The site has anonymous access disabled and Windows Authentication enabled
- The users access the site from a url like dashboard.example.com
- There is an entry in the local DNS that points dashboard.example.com to the Windows 2003 server
- I can resolve the dashboard.example.com name to the Windows 2003 server without issue from the local network.
- The clients active directory is actually example.com instead of the recommended example.local I'm not sure if this could be a source of problems or not.
- New Information: The site will work internally if access from the machine name rather than the CNAME http://ServerName
FROM THE INTERNET
- User vists dashboard.example.com from home over the internet.
- They are prompted for their username and password
- They are then authenticated and the site is displayed
This is the expected behavior
FROM THE LOCAL NETWORK
- User vists dashboard.example.com from the local network.
- They are prompted for their username and password
- The prompt reappears for three tries
- The site presents a 401.1 authentication failure message.