Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

What is the difference between using www. before domain name or ignoring? Why some domain names gets resolved fine either with www. prefix or without, while others fail?

share|improve this question
add comment

2 Answers

up vote 6 down vote accepted

www is technically the subdomain of that website. It's usually the default and primary domain; however, sometimes a domain provider will set their websites up such that http://www.domain.com and http://domain.com point to separate places.

In other words, it's convention.

share|improve this answer
add comment

It depends on how the person being responsible for the domain has defined his/her setup. When you register a domain, it is registered as "domain.tld" only. The "www" in front of "domain.tld" is only a very common subdomain, but not really part of the "original domain".

When you want to use www.domain.tld, you either have to add the according DNS entry or configure an URL rewrite.

In most cases, a website is shown when typing in "www" or not.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.