Error 521 after reboot

Posted November 14, 2021 74 views


I’m using wordpress on ubuntu server
I edited the php.ini file through the console using sudo nano then I used reboot command but the website is showing 521 error and not working

Kind regards

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

Hi @abdulazizaa,

What WebService are you using, is it Apache or Nginx? It’s possible the issue to be coming from there.

To find out what you are using, you can type:

netstat -tulpen | grep 443

At the end of the line, you’ll see either Apache2 or Nginx. Based on that you’ll know which one you are using. Now, once you know, I’ll urge you to check your errorlog which you can find in /var/log/apache2/ or /var/log/nginx/. Once in this folder, reload your website and check the last line of your errorlog. If it’s an issue with the WebService, it will display there.

If you are uncertain, you can provide us with the error code here.