Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

In Google webmasters tool, there is mentioned that www.domain.com is different from domain.com, and the webmaster is asked to get sure that the correct one is in action there to get the reports.

Why these domains are different from Google's perspective?

PS: I always register the domain without www part. Why I'm also able to get to my site, using www.domain.com?

share|improve this question
add comment

3 Answers

They are different because they could have different websites on them. Because www has been used since the early days of the web by convention they always have the same website on them. There is nothing special about www, it's just another subdomain.

The reason you can always get to your site is that your hosting provider has put redirects in place so that www.domain.com and domain.com always work, and give you the same thing. It's an extremely common thing so they do it to save you the bother.

share|improve this answer
add comment

That's because www technically is a subdomain of the domain.com website. This harkens back to the days when servers couldn't handle HTTP, FTP, POP, and SMTP all on the same server (this is why you see ftp.domain.com used for FTP purposes but it also really just points to domain.com. The same for pop.domain.com, smptp.domain.com, and, more common nowadays, mail.domain.com). However, since servers are obviously more powerful, most websites don't use the www as a subdomain and simply have it point to the domain.com content.

You're able to type in www.domain.com because an alias was automatically created in your DNS records for you by your webhost. Most hosts do this since it's very, very common to want the www subdomain to point to the domain.com website.

share|improve this answer
add comment

Domain can be accessible with or without WWW as well there is no such restriction for usage of prefix.you can set the redirection of the domain, when it is accessed can redirect to www. Use a 301 redirect to redirect one of them (usually non-www) over to the other one. This easily avoids indexing issues with Google.

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.