getting Error 521 host server down

0

Hi I have wordpress site on Lightsail. for security and speed I setup the cloudflare and now it gives ERROR 521 , almost everyday ( sometimes twice a day ) I need to restarted the server in order to have my site up and running. I have to say that even before cloudflare, I used to get the server going down every few days ! it is running on Apache ( Bitnami) server. is there any way to extract the Error log file and pin point the issue ? The SSL seems rightly setup and all the Cloudflare IPS are allowed ... I even stopped the Plugins and the problem did not go away ! I looked at metrics and seems hardly any resources are challenged. I had this site on another hosting company never had any issue with is , I wonder if lightsail is good enough .

Appreciate if anyone let me know if they encounter similar issues , or how to get the log file and see the errors.

Regards

Cyrus

cyrus
asked 5 months ago156 views
1 Answer
0

Hello.

In the case of Bitnami WordPress, error logs are output to the following directory, so please check this directory.

/opt/bitnami/apache2/logs

Logs located in the /var/log/ directory may also be helpful for troubleshooting.
If you want to check the /var/log/ directory, you can do so by connecting via SSH.
https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-ssh-using-terminal

profile picture
EXPERT
answered 5 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions