Question

Ubuntu Lemp Nginx Server Site Keeps Not Working

Posted October 31, 2021 70 views
NginxUbuntuLEMP

I recently finished this tutorial for setting up a lemp nginx wordpress server. https://www.youtube.com/watch?v=P7W4iYkFaOU&t=168s. I currently have one domain and 4 subdomains hosted, each with their own server blocks. The problem I’m having is that the sites work for like 30 minutes and then stop working for a while, then turn back on. I have no clue what is causing this as the digital ocean graphs don’t show high memory, cpu or bandwidth usage.

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

Hello,

What I could suggest is starting by checking your Nginx error log first:

  • tail -200 /var/log/nginx/error.log

Feel free to share the output here, just make sure to remove any sensitive information.

I could also suggest checking out this post here on how to troubleshoot common Nginx problems:

https://www.digitalocean.com/community/questions/how-to-troubleshoot-common-nginx-issues-on-linux-server

Best,
Bobby