Reply LinkBack Thread Tools Search this Thread
Old 23-04-2008, 11:15   #1 (permalink)
designneverdies
wannabe
 
designneverdies's Avatar
 
Join Date: May 2007
Location: Aberdeen, Scotland
Posts: 1,581
quick general knowledge question for you geeks

How come sometimes a web address works without the www. but other sites won't work unless you put www. in to the address bar as well.

It's not life or death it's just always bugged me.
__________________
If your colours are starting to run, let them all run, run away from you. Flux - Bloc Party
Design Never Dies
A message to newcomers. This is not google. Before you ask us here why not try typing it into google. 60% of the time it works every time.
  Reply With Quote
Old 23-04-2008, 11:17   #2 (permalink)
sub
Shitcasket™
 
sub's Avatar
 
Join Date: Jul 2005
Location: Brighton
Posts: 3,656
Send a message via MSN to sub Send a message via Skype™ to sub
Something to do with the set-up of redirects on the server.
__________________
  Reply With Quote
Old 23-04-2008, 11:44   #3 (permalink)
MikeMackay
Everything is fine.
 
MikeMackay's Avatar
 
Join Date: Feb 2005
Location: Witham & London
Posts: 743
Send a message via MSN to MikeMackay Send a message via Skype™ to MikeMackay
It's all down the the DNS records for the domain in question (CNAME). Some places omit the www record but most I've come across use it as it's the defacto.

I have to admit, I'm so used to typing addresses with it (unless it's a sub-domain) that I get annoyed when sites don't work with it.

- Mike
__________________
  Reply With Quote
Old 23-04-2008, 11:48   #4 (permalink)
freelancr
Web Developer
 
freelancr's Avatar
 
Join Date: Oct 2006
Posts: 2,007
google.com is a domain name, this points to a nameserver.

www. google.com is an A record, commonly known as a sub domain, which points to an IP address, usually of a web server.

google.com can also be an A record, which points to an IP address, usually of a web server.

Traditionally websites have been accessed by using www. domainname.com, and generally advertised that way. Typing www. or not does not guarantee you access to the website you are attempting to, though most properly configured dns records will allow either to be acceptable. If the A record for domain or the subdomain (www) is not present, then you will be greeted with an error message.

It is recommended to accept requests from both, but forward one to the other. For example I ensure all my websites work with or without the www, and if they type it without the www, they are forwarded to the www. This reinforces the fact that it is a website, as domains can be used for many purposes.
__________________
  Reply With Quote
Old 23-04-2008, 11:55   #5 (permalink)
herkalees
Semantics, yay.
 
herkalees's Avatar
 
Join Date: Nov 2005
Location: Salem, Massachusetts
Posts: 1,088
Lordy, I don't type the 'www' or the '.com/.net/etc'

Safari FTW.
__________________
  Reply With Quote
Old 23-04-2008, 11:58   #6 (permalink)
Larixk
Senior Member
 
Larixk's Avatar
 
Join Date: Sep 2006
Location: Utrecht, Netherlands
Posts: 933
Send a message via MSN to Larixk
^ Ctrl-Enter FTW
__________________
  Reply With Quote
Old 23-04-2008, 14:03   #7 (permalink)
Ehab
Registered User
 
Ehab's Avatar
 
Join Date: Apr 2008
Location: San Diego, CA
Posts: 41
Quote:
Originally Posted by herkalees
Lordy, I don't type the 'www' or the '.com/.net/etc'

Safari FTW.

you can do the same in firefox
  Reply With Quote
Old 23-04-2008, 14:20   #8 (permalink)
herkalees
Semantics, yay.
 
herkalees's Avatar
 
Join Date: Nov 2005
Location: Salem, Massachusetts
Posts: 1,088
Sure, but it's so much slower.
__________________
  Reply With Quote
Old 23-04-2008, 15:50   #9 (permalink)
pgo
i'm done, son
 
Join Date: Jan 2005
Posts: 12,262
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8