views:

110

answers:

2

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?

+2  A: 

I needed to do this:

http://www.information-worker.nl/2009/06/23/disableloopbackcheck-on-windows-server-2008/
bmw0128
A: 

Do you have Kerberos authentication enabled? Then it is not so easy, since you try to access mydev.com, but your server cannot provide such authentication ticket. I'm not very common with Kerberos internals, but I have seen my servers act like this.

naivists
no, i'm using NTLM, I added the thing to do in my response, which I found after asking the question
bmw0128

related questions