Ask Your Question

Is ‘www’ necessary?

Posted on: May 18, 2008

Have you checked this? write www.google.com and google.com in your browser’s address bar, then hit Enter. Both will work. same as true for Yahoo!, WordPress.com and other leading sites. Again there are some sites which won’t work without ‘www‘, like www.buet.ac.bd will work but buet.ac.bd won’t work.

So what’s the reason behind this?

WWW [short form of World Wide Web] is not really a useful thing on internet. It work like a subdomain, where all your documents, HTML and other files reside which will be publicly viewable. This is what Wikipedia says about it..

The letters “www” are commonly found at the beginning of Web addresses because of the long-standing practice of naming Internet hosts (servers) according to the services they provide. So for example, the host name for a Web server is often “www”; for an FTP server, “ftp”; and for a USENET news server, “news” or “nntp” (after the news protocol NNTP). These host names appear as DNS subdomain names, as in “www.example.com”.

As a matter of fact, use of the www subdomain is redundant and time consuming to communicate. The internet, media, and society are all better off without it.

So the current web administrators are practicing the no www thing. But as people are used to use the www, so they keep the both settings in their server. Some of the admins redirect all the traffic to http://www.example-domain.com like Google do when some of them redirect every thing to example-domain.com. I will go with the later one, it should be the standard. Even Google crawlers like the no-www address.

So if you want to make your default address example-domain.com and want to redirect http://www.example-domain.com to example-domain.com, so that you can catch everyone’s traffic when they hit on your site, just open .htaccess file in your root directory [assuming you are using apache httpd] and write following lines.

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.domain\.com$ [NC]
RewriteRule ^(.*)$ http://domain.com/$1 [R=301,L]

There is an organisation named No-www.org working on making internet www free 🙂 Check them.

To validate your domain if it supports no-www, please use this link : http://no-www.org/verify.php.

Advertisements

4 Responses to "Is ‘www’ necessary?"

Will the lack of www mean I need to change google analytics settings too?

i want my old website and i can not get it. help?

True, I’ve also noticed things work without www. but I do think it is a way of emphasizing that its a website address. On the radio the www. bit gives you time to tune your mind that its going to be followed by a url rather than hear the .co.uk at the end and realise you’ve missed the important bit.

I like what you guys are up too. Such smart work and reporting! Carry on the excellent works guys Ive incorporated you guys to my blogroll. I think it’ll improve the value of my website dadabdadceda

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s

About

I am in Jaflong

Ask Your Question is my blog about sharing knowledge in technical subjects that float my boat.

More about me | Why this blog

So far I get

  • 13,180 hits
Advertisements
%d bloggers like this: