[HELP] LEMP Server Timeout Error.


I have a 4GB Raspberry Pi 4 and I have mounted a LEMP server, with a domain in Namecheap, following this guide:

Right now, we have a clean WordPress installation without installing additional plugins or themes.

The error we are having is that when trying to access the web, sometimes it gives a Timeout error, and at other times it works fine. It usually happens on the first connection, and once the main page loads, you can move through the menus and load quickly.

For testing, one way to check is with PageSpeed Insights, and it usually gives “FAILED_DOCUMENT_REQUEST” error or takes a long time to load “Speed Index”.

The website is

Any ideas?

Thank you.

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.

Hi there @dualbix,

There are a few things which could be causing the problem:

  • The DNS change was made recently and you still need to wait for the DNS cache to clear over the Globe
  • There are some issues with Nginx and it is not running, in this case, I could suggest following the steps from this answer here on how to troubleshoot common Nginx problems:

  • Your firewall is blocking the traffic on port 80 and/or 443 - in this case, you need to make sure that the 2 ports are open

I can see that your WordPress installation is now up and running. Would you mind sharing here with the community how did you get this to work?

Regards, Bobby