You have to whitelist a domain specified in the hosts file in order for windows authentication to work:
- Click Start, click Run, type regedit, and then click OK.
- In Registry Editor, locate the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
- Right-click Parameters, click New, and then click DWORD (32-bit) Value.
- Type
DisableStrictNameChecking
and press ENTER. - Double-click the
DisableStrictNameChecking
registry value and type 1 in the Value data box, click OK - In Registry Editor, locate and then click the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0
- Right-click MSV1_0, point to New, and then click Multi-String Value.
- Type
BackConnectionHostNames
, and then press ENTER. - Right-click
BackConnectionHostNames
, and then click Modify. - In the Value data box, type the host name or the host names for the sites that are on the local computer, and then click OK.
- Quit Registry Editor, and then restart the IISAdmin service.
NOTE:
The original Microsoft KB links on this answer were broken and have been removed.
This article provided the instructions for setting DisableStrictNameChecking.