Question
How to setup CNAME properly so "www.example.com" loads instaed of redirecting to "example.com"
Hi,
I've setup a new Droplet and pointed my domain to DO Nameservers. The website loads now only without WWW, page not found with WWW. I've added a CNAME entry with "www @", but this redirects WWW website to non WWW website. We need the WWW version as this is how site is indexed in Google search.
How do we make the WWW version load instead or redirecting? What CNAME settings should I add? We are running Apache on Ubuntu, if that helps.
Please point us in right direction to resolve this. Thanks.
Add a comment
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×