Error 521 website down, backup corrupted

I am facing an error 521 for my website and so far haven’t found a solution (I am not at all technically savvy, getting help from professionals).

It seems like the mistake I made is to create a snapshot without powering down my droplet. Could this really result in me losing all the data on my website? Can’t access my Wordpress admin console or my website. I don’t have any other backups either. So far tried restoring and rebuilding the droplet to no effect.


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.

Can you sftp into the droplet?

What do you see when you try to go to your wordpress admin console?

Did you get a new IP address on your droplet when you re-created it? If so, you might need to update your DNS.

Also, you might consider disabling cloudflare or whatever cache you are using while you trouble-shoot

Please i am facing the same issue, i have even tried data recovery but digital ocean support hasn’t been helpful at all. My cloudfare points to the ip on digital ocean which is But if i ping the website i get

Yes, a 20gb block of storage will cost you $2.00 a month, but you would need to have someone set up the backup script, and then if you ever needed to restore you would (maybe) have to find someone to restore your site from the backups…

Vaultpress looks like it is 9.00 per month…I have never used it so I do not know how easy it would be to restore from their backups…which is when it will really count. If your website is down, you will not be able to login and press a button.

I was actually looking into exactly this. Was considering signing up with Vaultpress for backups since a few fellow bloggers recommended that. I wouldn’t know how to run the backup script on DO if I were to go the block-storage route although that would be a cheaper option I believe.

At some point you should think of a good back-up plan for your website files and database.

DigitalOcean has block-storage for a very good rate, and you could create a 25gb block of storage, add it to your droplet, and run a small backup script that backs everything up every night at midnight.

That is just one option…tons of others. I prefer the most simple and secure.

Once it is set up your backups should just run automatically and you will never have to think of it again until you need to restore your website.

That makes sense! Thanks again for your replies, appreciate it!

Thank you!

I have now updated the DNS records with my new IP and my site is back up. Lost 3-4 recent posts but I am able to retrieve the content from Google cache so all in all, very little damage.

My next question would be, can I now delete the older droplet which was corrupt and didn’t work?

Thanks for getting back!

I am not sure of the answer to the first question.

I get the same 521 error when I try to access my WP admin console. I am completely locked out of anything to do with my website.

I managed to create a new droplet from a backup image (not snapshot) and yes it does have a new IP address. Working with my admin to see best next step. I understand I can try to retain the same IP if I create a snapshot from the droplet image, destroy the original droplet, and then create a new one from the snapshot backup. Is it easier to update my DNS rather than the above though?

I’ll disable cloudflare before doing anything else, thanks for that!