Web Hosting Talk







View Full Version : Cannot resolve IP with www.mydomain.com but no problem with mydomain.com (!)


Pere
10-17-2002, 01:32 PM
Hi all,

Do you know the reason of connecting to a page if sent as mydomain.com but no chance if connecting as www.mydomain.com ?

I have requested my client (I run a small reseller) to try by http://ip_number/~user_name/ and then this test works fine.

My explanation has been "the resolving of an IP is a matter of your ISP. They should obtain the IP either sending a domain name with or without www. When you directly send the IP you bypass the server IP resolver. My server only understands of IP figures. Therefore this has nothing to do with my server".

I ask, am I right? or there is another possible reason for that missfunction of my client domain? I have to point out that this problem is not stable... sometimes everything works fine, sometimes it does not.

I will appreciate your thoughts and advice.

Thanks !!

pickles
10-17-2002, 02:44 PM
Could be a few things.

Apache: Look at your httpd.conf and make sure you have the proper aliases specified.

DNS: use nslookup or dig and see if the A/CNAME records are setup properly.

if domain.com has resolved, www.domain.com should be resolved as well.

Bob

Pere
10-17-2002, 03:05 PM
Thank you, Bob, for your advice.