Please help me with IP Canonicalization and WWW Problem

Hello guys, I just made a ghost blog with my domain today using Digitalocean. When I cheched to see my SEO status on Woorank its show that I have a problem with “IP Canonicalization”.

According to them: “Be careful, your server IP is not forwarding to your website’s domain name. Search engines like Google™ are now able to index your website with its IP instead of its domain name. This will result in duplicate content”

Plus I also want to do the WWW Resolve because my website without www doesn’t redirect to www (or the opposite). It is duplicate content!

I’m not sure if there is a way to fix this issue. One thing I’m sure of is that I set up the DNS correct on Namecheap. Please help. Thanks

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

If you execute: <br><pre>cat /etc/nginx/sites-enabled/default</pre> <br>What’s listed in the <code>ServerName</code> directive?

What’s the output of <pre>ls /etc/nginx/sites-enabled</pre>?