It is possible to set http://domainname.com and http://www.domainname.com to different values.

if you perform a nslookup or dig does the first and second example give you the same IP ? If so its a possible server problem.

If they give you different values its a DNS problem. Sometimes by default the root of a domain has a different IP than the www record. It all depends on the flavor of DNS or who set it up.

In some cases a blank A record is created which will take you to the first example - to whatever IP that is set to

In some cases without this you end up at the SOA for that zone ,.. In some cases you cant add a blank A rocord and you go there anyway

There are so many flavors of DNS out there you simply got to mess with it till you get them both to resolve to the same IP - if that is the intended result.

Hope this helps.


Mark



Darren Hayes wrote:

I have a website running on a vhost account (Apache 1.3.24/PHP4.4.1)

I can get to http://www.domainname.com/index.html just fine
I can  get to http://domainname.com/index.html just fine.
I can get to http://domainname.com/subdir/index.php just fine.

I can get to http://www.domainname.com/blah.php just fine.

But I observe the following 404 error when accessing
http://domainname.com/blah.php
(note no "www" prefix)

 Not Found
 The requested URL /blah.php was not found on this server.
 Additionally, a 404 Not Found error was encountered while trying
    to use an ErrorDocument to handle the request.

NOTE: blah.php is a brand new file copied to the webroot by the system admin
this morning.

I observe same issue on two different PC's. I've reinitialized and rebooted
everything in my neighborhood (PC's, router, cable modem). I have flushed my
DNS cache on both PC and router. I have even flushed my toilet.

System admin states he can get to http://domainname.com/blah.php and states
my issue is 99.9% likely a DNS caching error and I should contact my ISP
(Comcast). Usually the guy is spot on, but this time I don't know.

Any thoughts?

Darren





_______________________________________________
EUGLUG mailing list
[email protected]
http://www.euglug.org/mailman/listinfo/euglug





_______________________________________________
EUGLUG mailing list
[email protected]
http://www.euglug.org/mailman/listinfo/euglug

Reply via email to