Report this

What is the reason for this report?

All domains go to same site, not following NGINX conf files

Posted on October 13, 2013

I have three domains set up. One points to /var/www (my Ghost install) and works correctly. After a lot of troubleshooting my other two test domains now resolve, but they go to the /var/www location instead of the locations specified in their configuration files. Both .conf files include this:

listen 80; root /var/www/domainname.com; index index.php index.html index.htm;

server_name domainname.com;

Why are these configuration files not working?

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.