Error 521 - Web server is down message when trying to access my site

January 14, 2020 83 views
Ghost

I have a blog running on the ghost platform. I get the Error 521 - web server is down message when trying to access my blog. I tried rebooting the droplet a couple of times to see if that resolves the issue. I am a newbie to the Ubantu and Unix world and so not sure what and where else to look for.

4 Answers

Hi @spenumatsa,

What URL are you visiting on your website to receive the error, is it with http or https? It’s possible you don’t have Nginx configured to listen on port 443 and you to be trying to access the website using https. It’s the most common case.

If you provide us with your Nginx Configuration, I’ll be able to further assist you!

Regards,
KDSys

Hi @KDSys,

My website is https://sureshpenumatsa.com

This was working fine till last night and I started getting this error since this morning. I have my site going through Cloudflare.

I am new to all this and you might have to guide me on how to get the Nginx configuration.

Thank you for your help.

edited by MattIPv4

Hello,

It seems the web server is offline. I tried to restart it, but get the below error.

job for nginx.service failed because the control process exited with error code. See “systemctl status nginx.service” and “journalctl -xe” for details.’

Not sure what that means and i would appreciate any quick help here.

Hi @spenumatsa,

When you try and restart nginx and it fails, please see what the following command outputs

journalctl -xe

It will state the reason behind the failure. You can post it here if you are unsure.

Regards,
KDSys

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!