Report this

What is the reason for this report?

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

Posted on January 14, 2020

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.



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!

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,

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.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.