DaNuGai Posted June 22, 2006 Share Posted June 22, 2006 I need some help with this issuse.Whenever I type the URL as SOMEWEB.COM, I get an error where as if I type WWW.SOMEWEB.COM, the website appears.Does anyone know what causes it and how I can fix it. I am guess it probably has something to do with the hosting or the domain. I am not sure though. Any help will be greatly appreciated.Thanks. Link to comment Share on other sites More sharing options...
The Praetorian Posted June 22, 2006 Share Posted June 22, 2006 I get a similar problem, although never on my computer. Sometimes on the computer at work, when I enter the url of my website, entering it with the www will give me a 404 error, but entering it without will take me straight to the page...? Link to comment Share on other sites More sharing options...
aspnetguy Posted June 22, 2006 Share Posted June 22, 2006 I have not heard of the PC you are using effecting this. THe only times I have seen this is if the host headers for the website are setup wrong. Link to comment Share on other sites More sharing options...
pulpfiction Posted June 22, 2006 Share Posted June 22, 2006 This happens to me when I open http://www.w3schools.com/ it comes up fine but not for http://w3schools.com/ Link to comment Share on other sites More sharing options...
aspnetguy Posted June 22, 2006 Share Posted June 22, 2006 This happens to me when I open http://www.w3schools.com/ it comes up fine but not for http://w3schools.com/<{POST_SNAPBACK}> Yup, they forgot to setup the w3schools.com host header. They only have one for www.w3schools.com. Link to comment Share on other sites More sharing options...
pulpfiction Posted June 22, 2006 Share Posted June 22, 2006 Src: http://en.wikipedia.org/wiki/URLSince the HTTP protocol allows a server to respond to a request by redirecting the web browser to a different URL, many servers additionally allow users to omit certain parts of the URL, such as the "www." part, or the trailing slash if the resource in question is a directory. (Note: Omitting 'www.' is a feature of the DNS redirection, which may be performed at a top-level server and not on the HTTP server - but this distinction is transparent to an end-user). However, these omissions technically make it a different URL, so the web browser cannot make these adjustments, and has to rely on the server to respond with a redirect. Link to comment Share on other sites More sharing options...
aspnetguy Posted June 22, 2006 Share Posted June 22, 2006 exactly, you cannot fix this you must inform the webmasters of these mistakes when you find them and hope they decide to fix them. Link to comment Share on other sites More sharing options...
justsomeguy Posted June 22, 2006 Share Posted June 22, 2006 Since you included that quote from Wikipedia that talks about DNS, you can fix this on the DNS server. If you can control your own DNS settings, you can log in and point www to the same place that the normal domain goes to. Likewise, you can point the domain itself to the same place that www points to.If you don't have access to the DNS server, you can ask your host, or your webmaster, or administrator, or whoever does that stuff for you. It's really easy though, and takes about 30 seconds. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now