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

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

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.