#1 (permalink)  
Old 04-02-2002, 12:50 AM
Registered User
 
Join Date: Mar 2002
Location: Indianapolis USA
Posts: 27
Question Why does deleting "www." work?

Hi All,

Handy trick if you get a "page not found" error is to delete the "www." from the URL in your address bar and hit <enter> - it often brings up the page.

I've used this trick for years, but I have no idea why it works when it does - anyone know?

Thanks
__________________
Mike.
- -
Atlantic Bridge Publishing
Reply With Quote

  #2 (permalink)  
Old 04-02-2002, 06:11 AM
tthurgo's Avatar
Moderator
 
Join Date: Jan 2002
Location: Lebanon, PA
Posts: 357
Lightbulb

Well, in general, when people set up a webserver, they point http://www.domain.com and http://domain.com to the same local directory on the webserver.

However, sometimes they forget to setup the "www", or they point the http://www.domain.com to (e.g.) /home/web/www and the other (http://domain.com) to /home/web/domain.com, which means that there are virtually two webservers running instead of one with an alias (DNS a-record). Means, they are treated as two seperate webs, which also means, one file, available on the 1st webserver, is not available on the other.

Bottom line is: System administrators are often lazy (no offense anyone). What you found is not really a tweak.

Tom
Reply With Quote
  #3 (permalink)  
Old 04-03-2002, 05:01 PM
Registered User
 
Join Date: Mar 2002
Location: Indianapolis USA
Posts: 27
Smile Thanks Tom

Makes perfect sense - laziness I can always understand

Saw this motto somewhere:
"Hard work pays off later. Laziness pays off now!"
__________________
Mike.
- -
Atlantic Bridge Publishing
Reply With Quote
  #4 (permalink)  
Old 04-03-2002, 05:28 PM
Registered User
 
Join Date: Jan 2002
Location: Pittsburgh, PA, USA
Posts: 48
Send a message via ICQ to Nate Send a message via AIM to Nate Send a message via Yahoo to Nate
Another possibility is that your connection isn't the greatest and for some reason you don't connect on the first try. I get that in spirts on the college LAN where it will tell me that the server cannot be contacted but all I do is hit "Reload" and everything works fine. Dumb networks!

Nate
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT -5. The time now is 11:01 PM.

 
Bitrix
Clicky Web Analytics
CloudContacts
Maxtango


Subscribe to our feed | add to myYahoo!

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
© 1997-2007 HTMLCenter