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?

2 Answers 2


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.


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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