By Clody
So since my account got suspended our website went down and all I would see was the CloudFlare 522 Error page.
((Error 522 Ray ID: 543523e4dbae6bcc • 2019-12-11 05:43:18 UTC Connection timed out What happened? The initial connection between Cloudflare’s network and the origin web server timed out. As a result, the web page can not be displayed. If you’re the owner of this website: Contact your hosting provider letting them know your web server is not completing requests. An Error 522 means that the request was able to connect to your web server, but that the request didn’t finish. The most likely cause is that something on your server is hogging resources.))
I am helping the website owner to restore his site and I am totally new to DigitalOcean, barely understand what exactly is a droplet after reading and watching about it. What I am looking for is some kind of tutorial or instruction on how to make our site live again without destroying/loosing anything. After some research it looks like the first step is to make a snapshot before anything else? Any help is much appreciated Thank you very much Clody
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!
Accepted Answer
Hi @Clody,
I would recommend checking if your droplet is powered on, you can do that via your DigitalOcean Control Panel at:
https://cloud.digitalocean.com/
Then go to Droplets and make sure that the droplet is On.
If the droplet is on and your site is still not reachable you would need to first start with connecting to your Droplet via SSH, you can follow the steps on how to do that here:
https://www.digitalocean.com/docs/droplets/how-to/connect-with-ssh/
Once you’ve connected to the droplet it really depends on what services are running there. For example if you have a Wordpress website it is most likely an Nginx or Apache, so you need to make sure that one of those is up and running.
For example if you are using Apache you can follow the steps here on how to troubleshoot common Apache problems:
If you are using Nginx, you can follow these steps here:
If you are unsure, feel free to share some of the errors that you are seeing in the logs here.
Hope that this helps! Regards, Bobby
for me helped to stop nginx and then start apache
sudo service nginx stop
sudo service apache2 start
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.