Forum Moderators: buckworks & webwork

Message Too Old, No Replies

http://domainname vs http://www.domainname

comparison

         

dailypress

3:47 pm on Jan 25, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



im starting a new site and was wondering whether to use www. or not!
any advantages or disadvantages to forwarding all http://example.com to http://www.example.com?

[edited by: Webwork at 4:00 pm (utc) on Jan. 26, 2008]
[edit reason] Fixed typo [/edit]

jtara

4:31 pm on Jan 25, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yes, you should forward it - it's the convention, and expected by consumers.

IMO, the sands are slowly shifting toward dropping the www. If you opt for the more modern approach, you still need to forward the other way - www.example.com -> example.com

At this point, a consumer who has heard a URL is probably equally likely to try it with or without the www.

buckworks

4:36 pm on Jan 25, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Whether you choose to go with or without the www. the important thing is to be consistent.

HuskyPup

6:41 pm on Jan 25, 2008 (gmt 0)



Don't forget that www.example.com is actually a sub-domain of example.com therefore if you forward to example.com you will never be able to have e.g. widget.example.com

If you have no intention of using a sub-domain, no problem, forward to example.com.

jtara

8:10 pm on Jan 25, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Don't forget that www.example.com is actually a sub-domain of example.com therefore if you forward to example.com you will never be able to have e.g. widget.example.com

That's simply not true.

You can certainly have www.example.com forward to example.com, and still have widget.example.com. I have domains set up this way myself.

Further, www.example.com is NOT a sub-domain - simply a "host", but it's not much use trying to discourage the use of the term "subdomain", as it is pervasive.

gpmgroup

9:36 pm on Jan 25, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Further, www.example.com is NOT a sub-domain - simply a "host", but it's not much use trying to discourage the use of the term "subdomain", as it is pervasive.

Is this right? In www.example.com
I thought www was a subdomain of example.com and and example was a subdomain of .com

whereas a hostname related a specific string returned from a machine negotiated/queried by a NIC

HuskyPup

9:47 pm on Jan 25, 2008 (gmt 0)



You can certainly have www.example.com forward to example.com, and still have widget.example.com. I have domains set up this way myself.

Yep, sorry, I was very tired when I posted that, the grey cells are frazzled after today.

Further, www.example.com is NOT a sub-domain - simply a "host", but it's not much use trying to discourage the use of the term "subdomain", as it is pervasive.

That's interesting I've never heard it called "host" before! I do know that Tim Berners-Lee now feels it was a mistake using the www.

I believe, strictly speaking, that example.com is actually a sub-domain of the .com TLD which is, in turn, a sub-domain of the root.

Tired, must go!

jtara

12:40 am on Jan 26, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



example.com and www.example.com are "domain names".

.com is a TLD, or top-level-domain.

example.com is a subdomain, owned by the .com TLD. .com's DNS servers delegate control of the example.com subdomain to example.com's DNS servers.

So, let's say you have:

example.com -> 1.2.3.4
www.example.com -> 1.2.3.4
forums.example.com -> 4.5.6.7
accounting.example.com -> 0.0.0.0
katie.accounting.example.com -> 2.3.4.5
dan.accounting.example.com -> 3.4.5.6

All of these are domain names.

www.example.com is a host.

forums.example.com is a host.

accounting.example.com is a subdomain. Note that it resolves to 0.0.0.0. This is valid - there is a special case allowing the root of a zone to point to an IP address (no need to create a host), but it doesn't HAVE to. If it doesn't it's set to 0.0.0.0.

Why is accounting.example.com a subdomain? It has hosts (and/or additions subdomains) below it. (katie and dan).

Nothing subordinate? It's not a subdomain. Just a host.

An A record is also known as a "host record". A host does not a subdomain make.

Very few of us here on WebmasterWorld have subdomains.

An easy way to distinguish - with a subdomain, it's "turtles all the way down". A host - well, it's the last turtle, the end of the line, sitting on a rock. It's turtles all the way up, unless you're .com, etc.