How do I make nginx stop showing "Unable to Connect!" and show a site as default?

Posted March 8, 2016 7.4k views

Trying to get my Wordpress site admin to perform faster so I setup Nginx and Varnish. I got both to setup right but now my site is just blank after configuring Nginx.

How do I point Nginx to my website? I’ve looked all over the internet for the solution. Please point me in the right direction. Thanks!

1 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.

Submit an Answer
1 answer

Dealing with Web Server issues can be tricky depending on your setup. Being we only provide self-managed hosting, we are limited in what we can do for you in such a situation. We may not be able to login and troubleshoot this for you, however we can provide a few different ideas to help guide you in resolving this situation.

The easiest way to locate the cause of the error is to locate the exact error itself within the log file. This can vary based on your setup, but in general these are good places to look:


To ensure your server block for Nginx is correct, you might want to read over our article on the subject.

Hope it helps,
Jason Colyer
DigitalOcean Platform Support Lead

by Justin Ellingwood
Nginx is an incredibly powerful web server and reverse proxy. In this guide, we'll discuss how to set up server blocks on Ubuntu 14.04 in order to server multiple domains from a single server.