Lightsail Wordpress Getting 404 Not Found nginx/1.18.0 Error

0

Our nonprofit is migrating over to LightSail and we setup an instance without an issue but now out of nowhere we are getting a 404 Not Found nginx/1.18.0. From researching the problem, it seems to be a root or public file issue or maybe an issue with the server setup? When I reboot the server it works again and I can get into WP but it then goes back to 404. Our domain is http://eyespy.help

Thanks in advance for any guidance!

1 回答
0
已接受的回答

Could you share the content of /var/log/nginx ? This will tell you what's it's trying to do, and why it's not working. Also, the command nginx -t will try to validate your configuration. share the results of this command too please.

zeus
已回答 4 个月前
  • Here is what the resource said who resolved the issue for us said:

    There were multiple issues. The Apache config file was not correctly set. WordPress memory limit was very low. 40MB Also, there was a resource issue in terms of RAM, and CPU. It was 1 GB RAM and 2 CPUs

    I have fixed the Apache config. increased WordPress memory limit to 512 MB. Also upgraded the instance resource to 2GB RAM and 2 CPUs. You may see the site is also loading fine and better than earlier.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则