Troubleshooting guide for Windows hosts file

This post describes how to fix possible issues with the Windows hosts file. I’ll first document how to find the damn file, and then go through a bunch of options on what to check and how to fix different possible issues. Opening the hosts -file First of all, the hosts file location is usually: C:\Windows\System32\drivers\etc\hosts (link may or may not work depending on your security settings and browser version, but you can always copy-paste it to your text editor’s “Open”-dialog… :) Editing the file requires…Continue reading Troubleshooting guide for Windows hosts file

SharePoint Authentication prompt

Windows Authentication fails on SharePoint for all hostnames (other than localhost)

This post describes how to fix Windows Authentication on a SharePoint server that is failing on other local addresses other than localhost. Symptoms You get the standard Windows/Basic Authentication prompt when accessing your SharePoint site, but the site won’t accept your credentials when you are accessing the site using an address like http://website. However, using an address like http://localhost works fine (but of course may cause other problems). You also get event log entries like this (most likely in System -category): The program w3wp.exe, with the…Continue reading Windows Authentication fails on SharePoint for all hostnames (other than localhost)