I have a domain example.com
which is used to show a static website. I am hosting this website on AWS S3 and using Route53 to point example.com
to example.com bucket.
Because I want to access the website on www.example.com
as well. I created another bucket www.example.com
which will redirect all requests to example.com
. Just like example.com
, I created A Type record
on Route53 to point www.example.com
bucket.
- What will be its impact on search result, particularly Google?
- Will it be better to have a single domain serving the website, as two domains can be taken as duplicate websites and SEO ranking will be hampered because of this?
http://tarkshala.com/
andhttp://www.tarkshala.com/
But I always see www.tarkshala.com in URL bar.curl -s http://tarkshala.com/ --head HTTP/1.1 301 Moved Permanently
Redirects are the proper way to handle duplication from an SEO standpoint. See: What is duplicate content and how can I avoid being penalized for it on my site?