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

March 8, 2016 532 views
Nginx WordPress Ubuntu

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
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.
Have another answer? Share your knowledge.