Report this

What is the reason for this report?

Upgraded from 14.04 to 16.04 now site returns error 404 nginx/1.10.3 (Ubuntu)

Posted on February 5, 2018

Not sure what I need to do but I got no errors on the upgrade and now my site just says error 404



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

The first step should be to check your Nginx error log in /var/log/nginx/error.log as it will usually provide additional information on the error encountered.

My guess is that during the update if you were asked whether to use the maintainers version of your Nginx configuration which would have removed your configuration. Check your configuration file in /etc/nginx/sites-enabled and make sure it is pointed to the directory where your app or site is located.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.