Category: 

What is the Difference Between a Website with a WWW and Without?

Article Details
  • Written By: R. Kayne
  • Edited By: O. Wallace
  • Last Modified Date: 21 September 2016
  • Copyright Protected:
    2003-2016
    Conjecture Corporation
  • Print this Article
Free Widgets for your Site/Blog
In late 19th-century London, mail was delivered to residential addresses up to twelve times each day.   more...

September 28 ,  1924 :  Two US military planes complete the first flights around the world.  more...

The quick answer to this question is that there is no difference between the two addresses for most modern domains. For example, typing www.wisegeek.com or wisegeek.com into the Uniform Resource Locator (URL) of your Web browser will bring you to this site with equal ease. However, leaving “www” off of some websites can result in the browser being unable to find the site. This problem is correctable by the domain holder. A cursory understanding of how the World Wide Web (WWW) works will be helpful in understanding the problem.

The Internet is a massive network of computers that communicate by using agreed upon protocols. For example, every computer on the Internet is assigned a unique numerical address so that information can be sent and received without being lost. These unique addresses are called Internet Protocol addresses, or IPs for short. In the case of a website the numeric IP maps to a name, as names are easier for surfers to remember than numbers.

Ad

The Domain Name System (DNS) database contains a record for each website, which stores the website's name and IP address. When clicking on a link or entering an address in a Web browser, it sends a request to the DNS database to resolve the name to the corresponding IP address. If the “www” prefix is left off and the browser stalls, it is likely that the DNS record does not contain the short version of the domain name: the version without the “www.”

Once the name is found in the DNS database it is resolved to the corresponding IP. This allows the browser to create a connection with the server that hosts the site. It requests the page and supplies your IP address, akin to sending a self-addressed stamped envelope. The host server sends the webpage to your computer and the transaction is complete.

In the past many host servers created websites as subdomains under www., following then-current naming conventions. "WWW" identified the server as a Web server, versus a server dedicated to other tasks. As the Internet became more widely traveled by the general public, however, the ubiquitous “www” was often overlooked when entering website addresses into browsers. This resulted in lost website traffic and frustrated surfers, as many DNS records only contained www.example.com, and not example.com for the domain name.

Over time hosts began dropping the “www” designation for Web servers, and domains were created as example.com. To catch traffic that might arbitrarily include “www” in the browser request, DNS records instead included an extra entry to cover this occurrence. CNAME is the DNS tag that maps an alias to the main name in the DNS record: in this case the "www." version of the name. With this solution surfers could include or exclude www. and reach the site either way.

DNS records can be modified to include a mapped alias. If you require this service for your domain(s), contact your domain registrar.

Ad

You might also Like

Recommended

Discuss this Article

anon103517
Post 3

use a .htacces file

something like:

# force proper www. prefix on all requests

RewriteCond %{HTTP_HOST} ^yourdomain\.com$

RedirectRule ^/(.*)$ http://www. yourdomain. com/$1 [I,R=301]

anon48952
Post 2

I´m hosting my own domain. When we type www.mydomain.com we get the page. But without www we get the webmail page on the DNS server. How i solve this problem is by pointing www.mydomain.com and mydomain.com for the same webserver? Regards

fear
Post 1

what are the features of world wide web?

Moderator's reply: check out our article, are the internet and the world wide web the same thing?, for more information on the world wide web.

Post your comments

exception 'Exception' with message 'error writing captcha: Duplicate entry '2147483647' for key 'PRIMARY'' in /ssd/www/wisegeek/public_html/_core/classes/public/Captcha.php:44
Stack trace:
#0 /ssd/www/wisegeek/public_html/_core/controls/public/ControlDiscussionPostBox.php(324): Captcha->createCaptcha()
#1 /ssd/www/wisegeek/public_html/framework/classes/Control.php(104): ControlDiscussionPostBox->preRender(false)
#2 /ssd/www/wisegeek/public_html/framework/classes/Control.php(149): Control->render()
#3 /ssd/www/wisegeek/public_html/tpl/default-nocustom-lu/pages/public/article/article.htm(526): Control->__toString()
#4 /ssd/www/wisegeek/public_html/framework/classes/Control.php(300): require('/ssd/www/wisege...')
#5 /ssd/www/wisegeek/public_html/framework/classes/Control.php(309): Control->requireTpl('pages/public/ar...', Object(PageArticleCom), true)
#6 /ssd/www/wisegeek/public_html/framework/classes/Control.php(131): Control->renderTpl('pages/public/ar...', Object(PageArticleCom))
#7 /ssd/www/wisegeek/public_html/framework/classes/FormDataControl.php(87): Control->renderTemplate()
#8 /ssd/www/wisegeek/public_html/framework/classes/Control.php(109): FormDataControl->renderTemplate()
#9 /ssd/www/wisegeek/public_html/framework/classes/ScriptPage.php(50): Control->render(false)
#10 /ssd/www/wisegeek/public_html/framework/classes/Control.php(149): ScriptPage->render()
#11 /ssd/www/wisegeek/public_html/framework/classes/Page.php(97): Control->__toString()
#12 /ssd/www/wisegeek/public_html/_core/classes/public/PublicFrontController.php(443): Page->processRequest()
#13 /ssd/www/wisegeek/public_html/_core/classes/public/PublicFrontController.php(7): PublicFrontController->renderPage()
#14 /ssd/www/wisegeek/public_html/index.php(11): PublicFrontController::run()
#15 {main}