The short answer
Check from another network first, then log in, then look at disk, memory, failed services and the last log lines. Fix the cause you find, and write down what you changed.
Is it the server, the site or just you?
- Open the site from your phone on mobile data. If it works, the problem is your own network.
- Run
ping your-server-ipandcurl -I https://your-site. No ping means the server or its network is down. A ping with no web page means a service is down. - Check your host's status page, and whether the domain still points to the right address.
Can you log in?
Try SSH. If it hangs or refuses, open the provider's web console (the screen you get without SSH). If even the console shows nothing, the server may be powered off or crashed: restart it from the control panel and watch the boot messages.
Four quick checks
Run these once you are in:
uptime
free -h
df -h
systemctl --faileduptime shows a recent reboot or very high load. free -h shows if memory is gone. df -h shows a full disk (100% on / is a common cause). systemctl --failed lists services that stopped.
Read what the server says
The last errors usually name the cause:
journalctl -p err -b --no-pager | tail -n 40
dmesg | tail -n 30
sudo tail -n 50 /var/log/nginx/error.logLook for Out of memory: Killed process (memory ran out), No space left on device (disk full), or a config error after a change.
Test the web server before you restart it
sudo nginx -t # or: sudo apachectl configtest
sudo systemctl restart nginx php8.3-fpm mariadbA restart without a config test can leave you with no web server at all. If the test fails, the message names the file and line.
Think about what changed
An update, a new plugin, a firewall rule, an expired certificate, a full log folder, a new cron job. Most outages follow a change within the last day.
When to ask for help
If the server is compromised (unknown processes, new users, redirects), stop and do not keep rebooting. Preserve the evidence and call for help. See our malware cleanup.
Questions people ask
The site is down but the server answers ping. What now?
A service has stopped. Run systemctl --failed, check the web server and PHP or app service, and read their error logs.
Is restarting the server a good first step?
Only if you cannot log in. A restart clears the evidence in memory. Look at memory, disk and logs first when you can.
How do I stop it happening again?
Watch disk, memory and services with alerts, take backups and keep a short change log. A health agent can warn you before a disk fills.