Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

domain.com works - www.domain.com does not

Status
Not open for further replies.

wscreate

Technical User
Jan 28, 2003
6
US
FYI: MY Server Software
Redhat Linux 7.2 / Apache 1.3.27 / Bind 9.2

I have a site on my web server that resolves correctly when you type in the domain without the www, but when you type in the domain name WITH www, it resolves to an incorrect IP on the server. This is not a domain propagation issue. This domain registration record has not been udpated for over 2 months. This problem suddenly appeared.

Ex.
----> Resolves to an incorrect dedicated IP # of another site located on the server
domain.com -----> Resolves correctly to the correct dedicated IP #

I have done nslookup to verify that it resolves incorrectly when typing in " before the domain name. nslookup shows proper output without " before the domain.

I have checked the dns record in /var/named . I have rebooted http, DNS and I have rebooted the server. However, the problem persists. I have even changed the IP number for the web site hoping to overwrite any incorrect settings, but to no avail.

Oh, and this is not a dns propagation issue after a DNS update. This domain has existed on this server for over 1 month and nothing has changed with the DNS at the registrar.

Does anyone have any advice?
 
The bad resolution, am I correct to assume that any machine will resolve the bad address?

If not, I'd look in /etc/hosts. On most machines, an address in /etc/hosts takes precedence over resolution via DNS. However, nslookup is designed to only speak with DNS servers directly and ignores /etc/hosts. Want the best answers? Ask the best questions: TANSTAAFL!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top