Please help me with IP Canonicalization and WWW Problem

Posted December 12, 2013 4.6k views
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

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.

Submit an Answer
3 answers
What's the output of
ls /etc/nginx/sites-enabled
If you execute:
cat /etc/nginx/sites-enabled/default

What's listed in the ServerName directive?