1

I'm using an IIS Server and run into the following problem:

Using Internet Explorer, I type http://1.2.3.4/mySite/ and everything works fine, it uses my Windows credentials. When I try http://name/mySite/ or http://name.domain.tld/mySite it does not work.

But what does not work? I will be asked for my user credentials, but when I type them in and try to login it's going to prompt again and again.. Any quick ideas about what could be the configuration issue?

I already added the site to the local intranet sites.

squillman
  • 37,883
  • 12
  • 92
  • 146
David
  • 11
  • 1
  • 4
  • What is `name` or `name.domain.tld` actually resolving to on the computer this is happening on? Are you trying to test locally? If so its most likely translating to IPv6 and your IIS binding is strictly set to IPv4. – Brock Hensley Sep 06 '13 at 14:12

1 Answers1

2

ON the server, you want DisableStrictNameChecking and DisableLoopbackCheck registry keys

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Parameters

Add a new DWORD. The name is DisableStrictNameChecking, and the value should be set to 1

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa

Add a new DWORD The name is DisableLoopbackCheck, and the value should be set to 1

Restart after setting both.

MichelZ
  • 11,068
  • 4
  • 32
  • 59
  • This is the correct answer, but it should be noted that disabling these settings does open the door for exploits that use them. In development it is fine, but I'd rather not tempt fate in production. – Lee Harrison Dec 22 '15 at 18:52