SharePoint Cannot Log in after making entry in hosts file

Posted by bmw0128 on Stack Overflow See other posts from Stack Overflow or by bmw0128
Published on 2010-03-23T20:20:02Z Indexed on 2010/03/23 20:23 UTC
Read the original article Hit count: 283

Filed under:

I'm building a MOSS 2007 site on Windows 2008 R2, 64 bit. Not wanting to use my machine name or IP in the URL, I made an entry in my hosts file:

127.0.0.1 mydev.com

I can surf to the URL, http://mydev.com, but when I try to log in (Windows Authentication), I am denied. I am able to successfully log in if I take out the hosts file entry, and surf to http:// Do I need to edit something else for the authentication to work when I want to use a custom URL like mydev.com that is only mapped in the hosts file?

© Stack Overflow or respective owner

Related posts about sharepoint2007