401 errors when accessing Sharepoint or IIS locally from Windows 2008 Server
Phui.. after months of problems logging into weblogs.asp.net I finally got some help and I'm back in:)
Most experienced web developers and IT pros have encountered the good ole' DisableLoopbackCheck problem when accessing websites from the local machine (when they work when accessing them externally). Today I had to take an extra spin around the block when setting up a Sharepoint site on a Windows 2008 server with IIS 7 with host headers.
From my experience with Windows 2003 the only thing you needed to do was to create the DisableLoopbackCheck registry key, but with Windows 2008 server I also had to add the actual host header urls into another registry key. Put simply: with Windows 2003 you could get away with only one of the resolutions described in this kb article, and now you'll need to do both:)
- Method 1: (recommended): Create the Local Security Authority host names that can be referenced in an NTLM authentication request
- Method 2: Disable the authentication loopback check