Showing the nginx welcome message on hope page

Posted February 21, 2015 13.2k views

I just installed a droplet for the first time. When trying to enter my wordpress site i get the nginx welcome message on the screen. Looks like this:

Welcome to nginx!

If you see this page, the nginx web server is successfully installed and working. Further configuration is required.

For online documentation and support please refer to
Commercial support is available at

Thank you for using nginx.

What have i missed?


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

Where are your Wordpress-files located?

The default nginx htdocs-root is /usr/share/nginx/html

If you’ve installed the files at, say, /usr/share/nginx/html/wordpress, then you must change the root-setting in the file /etc/nginx/conf.d/default.conf to that directory, like this

server {
root /usr/share/nginx/html/wordpress;

Plese read the article on how to set up nginx to work with the PHP-engine over socket (CentOS) if you have not already done so.

by Mitchell Anicas
by Erika Heidi
In this guide, we'll get a LEMP stack installed on an CentOS 7 server. A LEMP software stack is a group of open source software that is typically installed together to enable a server to host dynamic websites and web apps. This term is actually an acronym which represents the Linux operating system, with the ENginx web server (which replaces the Apache component of a LAMP stack). The site data is stored in a MySQL database (using MariaDB), and dynamic content is processed by PHP.