Tuesday, April 17, 2012

That Annoying Logon Box

So you created a web application using host headers that share port 80.  You create the site collection. So far so good. Added the DNS A record. Also there.  You test and get … (BAM!)

image

Strange.  So you create another web application and it works fine.  Hum.

Well lets look closer

Capture

You will notice that the web application that worked was using a port number not a host header.  After some more research found that this is the DREADED loopback issue.

You need to add an entry in the registry to resolve.  So I followed this TechNet article to resolve. Note there are two solutions.  Method 1 is preferred since method 2 disables this security feature that protects port 80. http://support.microsoft.com/kb/896861

Capture

You add your sites using host headers to the registry for the BackConnectionHostNames multistring value.  Note that you also have to reset a windows service called IIS Admin Services found by using server manager.

Capture

Hope this helps.  Thanks Gerald for your guidance.

References

http://msdn.microsoft.com/en-us/library/cc982052(v=VS.90).aspx

http://support.microsoft.com/kb/896861

No comments:

Post a Comment