It is every website owner's nightmare: your website is offline and you have no idea how to fix it. But what most people do not know is that you do not have to sit by and watch in despair. There are things you can do. We have made two easy-to-use action lists: one easy list for non-technical people and one hands-on list for more advanced users.
curl -v https://yourserver.tldin your terminal, to check if the server is still listening for new requests and accepts them. This can also give an indication of what is going on.
host yourdomain.tld. Are you getting valid DNS response? Do you receive a Host Not Found or any other error? If you get an error, use nslookup to retry using a different DNS server like from OpenDNS or Google DNS. For examples
nslookup yourdomain.tld 126.96.36.199for a Google DNS check, or
nslookup yourdomain.tld 188.8.131.52. If it works for the other DNS services, and not for your local/standard DNS server, it is a local issue at your internet service provider (ISP) and you should get in touch with them. Also check the status page of your ISP.
/var/logfolder. Do not blindly restart the server as it is always helpful to find the culprit and to prevent it for possible future issues. If SSH is not working, check out on the dashboard of the web hoster if access is allowed through SSH and try to enable this.
htop. Any processing claiming all CPU resources? Check with
df -Hif there is still enough disk space left on your server as well.
VMSize -s -S Mshows anything interesting?
Do you want to receive all our tips & tricks straight in your inbox? Then subscribe to our newsletter.