Question

website only show "welcome to nginx"

Posted January 22, 2016 79.8k views
NginxWordPress

today i resize my droplet (isigood) and after that, the site only show


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 nginx.org.
Commercial support is available at nginx.com.

Thank you for using nginx.

how i can fix that ?
my website using cms wordpress..

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
2 answers

You need to update your /etc/nginx/sites-available/default to include a link to your wordpress page, if you are using port 80 and wordpress try changing the root location under server within that file so it looks like this root /var/www/html;
After that do a sudo service nginx restart and refresh the page.

  • After doing this, I’m getting a “403” error. Our site was working fine over the weekend and today there was a database error.

    I’ve restored the droplet from a backup when the site was working, then got the “Thank you for using nginx” page, I’ve changed the root folder like you’ve mentioned above and now I’ve got a 403 error.

i using debian, how i can configure it..?