Report this

What is the reason for this report?

Domain name only works with www

Posted on October 6, 2018

When I visit my url place-puppy.com I my site is not there. However if I visit the IP or the domain with www in front I am taken to the correct place. I am not sure why. I am not very knowledge about how to read the ngnix config but it does have both the versions.

        index index.html index.htm index.nginx-debian.html;

        server_name place-puppy.com www.place-puppy.com;

I followed the walkthrough on setting this up through a Digital Ocean tutorial.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.