Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm running an Apache server hosting a single website. I've set up www.domain.com and it's working just fine. Howerver, if I browse to domain.com (no www) I get a password prompt with a message 'The site says: "."'. Initially I thought I must have a problem with my apache setup, but when I shutdown apache, my site goes down at www, but I still get the password prompt at domain.com. I've shutdown every process I can and I keep getting the message. Does anyone know what might be causing this?

PS. I also get the password prompt if I browse directly to the sites IP, so I don't think it's a domain/DNS issue.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Sounds to me like the '@' A record in your domain is NOT pointing to the same place as your www.domain.com record. This means that the reason you're getting the password prompt is because you're talking to a different server. You can check to see if this is the case by doing the following from a command line.

 nslookup domain.com
 nslookup www.domain.com

If they give different return values, you've found out why this is happening.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.