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

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

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.