Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Why do we need "www" in url typing?

 
Rogerio Kioshi
Ranch Hand
Posts: 690
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
chris webster
Bartender
Posts: 2407
33
Linux Oracle Postgres Database Python Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In a lot of cases we don't. You can often get to a website by just typing the domain into your browser without the "www." and you will still wind up in the same place. Sometimes your browser will add the "www." automatically to your request, or the domain will have been set up so that requests for "www.mydomain.com" and "domain.com" are handled the same way. Also, some domains will use the first part of the URL e.g. "www." or "mail." etc to direct requests to a particular part of the site.

See http://computer.howstuffworks.com/internet/basics/question180.htm
 
fred rosenberger
lowercase baba
Bartender
Posts: 12203
35
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
don't forget that we used to also have to type "http://" as well...
 
Randall Twede
Ranch Hand
Posts: 4482
3
Java Python Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
we also have file:///C:/Documents and Settings/user1/Desktop/
 
Paul Clapham
Sheriff
Posts: 21416
33
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had a look at my browser bookmarks. Of the first 6, only 3 of the URLs start with "www".
 
Greg Charles
Sheriff
Posts: 2993
12
Firefox Browser IntelliJ IDE Java Mac Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's anachronistic, but one of those things that just persists because it's always been that way. It used to be you might want gopher.mysite.com, ftp.mysite.com, and www.mysite.com to resolve to different physical machines. However, these days mysite.com will resolve to www.mysite.com for nearly all values of mysite.com. Try typing in coderanch.com and see where that gets you.
 
Pat Farrell
Rancher
Posts: 4678
7
Linux Mac OS X VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greg Charles wrote:It's anachronistic, but one of those things that just persists because it's always been that way. It used to be you might want gopher.mysite.com, ftp.mysite.com, and www.mysite.com to resolve to different physical machines. However, these days mysite.com will resolve to www.mysite.com for nearly all values of mysite.com. Try typing in coderanch.com and see where that gets you.


Even back in ancient times it was mostly redundant, since you would specify the protocol:
ftp://ftp.mysite.com
http://www.mysite.com

No modern browser makes you enter it.

The double slash is even worse. It never made sense. Even TBL says it was a mistake.
 
Wendy Gibbons
Bartender
Posts: 1111
Eclipse IDE Oracle VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thre is one website in the world that doesn't start www
but for the life of me i can't remember whuich one.
 
dennis deems
Ranch Hand
Posts: 808
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wendy Gibbons wrote:thre is one website in the world that doesn't start www
but for the life of me i can't remember whuich one.

Only one? Perhaps Wikipedia knows which it is. https://en.wikipedia.org/wiki/Wikipedia
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic