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

  • Posted January 14, 2020
  • 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.


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

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.

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


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 @KDSys,

My website is

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.

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