Home / Fix guides / Broken links, errors and uptime

Why does my website keep going down?

Usually because the server is running out of resources, the database is failing, a domain or certificate has expired, or an update broke something. Finding out which one means catching the outage as it happens and reading your logs.

A website that keeps going down is usually caused by one of a handful of things: a hosting server running out of memory or processing power, a database that stops responding, an expired domain or certificate, a faulty update, or a sudden burst of traffic. The frustrating part is that the site often comes back by itself, so the first you hear of it is a customer asking whether you have closed.

What people see when a site goes down

Down does not always mean a blank page. Common signs:

  • This site can't be reached or a browser timeout, which often points to a domain, DNS or server problem
  • 500, 502, 503 or 504 error pages, which point to the server or the software running on it
  • Error establishing a database connection on WordPress sites (see database connection error)
  • A page that loads slowly for a while and then fails, which often means an overloaded server
  • A site that works for you but not for other people, which can be caching or DNS

Why it matters

Every minute offline is a minute customers cannot buy, book or call you. Repeated outages also cost trust, because people rarely give a site a third chance. For search, a short outage normally recovers on its own, but if Google keeps meeting errors when it visits, it can slow its crawling and some pages may drop in results until things are stable. From a security point of view, a site that goes down for no clear reason is sometimes under attack or has been compromised, so it is worth finding the cause rather than just restarting it.

How to check if it keeps happening

The hard part is catching the outage while it is happening. These are free ways to do it:

  1. Set up an outside monitor. UptimeRobot has a free plan that checks your site at regular intervals and emails you when it fails. Our guide to website down monitoring goes into more detail.
  2. Open your hosting control panel and look for resource usage, error logs and notices. In cPanel these are usually under Metrics (look for Resource Usage and Errors). Other hosts name them differently.
  3. Check when your domain expires. Log in to your registrar, or search your domain in a WHOIS lookup.
  4. Click the padlock in your browser and look at the certificate expiry date.
  5. Write down the times of each outage. Outages at the same hour point to backups, scheduled tasks or traffic. Outages right after you edit the site point to an update.

If you would rather not set this up yourself, week 29 of SiteMonday is an uptime monitoring report: see what it covers.

The usual causes and how to fix them

CauseWhat it looks likeUsual fix
Server out of resourcesSlow, then 503 errors, mostly at busy timesAdd caching, remove heavy plugins, upgrade the plan
Database troubleDatabase connection errorCheck credentials, take a backup, then repair or restart the database, or ask your host
Expired domainSite unreachable for everyone, suddenlyRenew at the registrar, turn on auto-renew
Expired SSL certificateBrowser security warningRenew or reissue the certificate
Bad update or pluginDown right after a changeRoll back, disable the last plugin or theme change
Traffic spike or botsDown at odd hours or during promotionsCaching, a CDN, blocking abusive requests
Host problemDown with nothing changed on your sideCheck the host's status page, ask support, consider moving

Overloaded hosting. Cheap shared hosting puts many sites on one server and limits the memory and processing each can use. When your site hits the limit, the host may slow it down or stop it for a while. Look at the resource usage graphs in your control panel. Fixes, in order: turn on caching, compress large images, remove plugins you do not use, and only then move to a bigger plan or a VPS if you hit the limits regularly.

Database problems. Most content sites keep their pages in a database. If it runs out of connections, becomes corrupted or has the wrong password after a change, the site fails. Ask your host whether the database server restarted or hit limits at the outage times.

Updates and plugins. On WordPress, a plugin, theme or PHP version change is the most common trigger. If you cannot log in, you can usually disable a plugin by renaming its folder inside wp-content/plugins using your host's file manager or FTP. Steps for this are in the WordPress guide. Other platforms usually let you restore the previous version or theme from their dashboard.

Expiry. Domains and certificates expire on a fixed date, and the renewal email often goes to someone who left the company. Turn on auto-renew, check the payment card is valid, and make sure reminders go to a mailbox that is actually read. Many hosts renew certificates automatically, but it can fail if DNS has changed.

Traffic and bots. Look in your access logs for a large number of requests from the same address, or a spike that matches the outage. A CDN such as Cloudflare (it has a free plan) can help absorb traffic and block bad requests, though setup depends on your DNS and host.

The host itself. If nothing on your side explains it and it keeps happening, ask support for the server logs covering the outage times. Repeated outages with no explanation are a fair reason to change host.

How to confirm the fix worked

  • Your monitor shows no failures for at least two weeks, including your busiest day or promotion.
  • The error log is quiet at the times that used to fail.
  • The resource usage graphs stay well below your plan's limits.
  • You can open the site from a phone on mobile data, not just your office Wi-Fi, and the pages you care about load without errors.

If an outage returns, you now have timestamps and logs to give your host or developer, which is far more useful than telling them it went down again.

How to stop it coming back

  • Keep monitoring running permanently, with alerts going to at least two people.
  • Turn on auto-renew for the domain and keep the registrar login somewhere safe.
  • Update one thing at a time, outside busy hours, and take a backup first so you can roll back.
  • Look at resource usage once a month, so you notice growth before it turns into an outage.
  • Keep the host's support details and your registrar login in a shared place, so the fix does not depend on one person being available.
  • Remove plugins, themes and scripts you no longer use, since each one is something that can break.

Step by step for your platform

Questions

Why does my website go down for a few minutes and then come back?

This usually points to a server hitting its resource limits, a database restart, or a scheduled task such as a backup running at the same time each day. Check your outage times against your host's resource graphs and logs.

Can my website go down because of too many visitors?

Yes. Shared hosting has limits on memory and processing, and a busy period can push the site over them. Caching and a CDN often help before you need to pay for a bigger plan.

Will my website going down hurt my Google rankings?

A short outage normally recovers without lasting harm. Repeated or long outages can make Google crawl your site less and some pages may drop until the site is stable again.

How do I know when my website is down if I am not looking at it?

Use an outside uptime monitor, such as UptimeRobot's free plan, that checks your site regularly and emails you when it fails. Your own browser may show a cached copy and hide the problem.

Is it my hosting company's fault or mine?

Check the host's status page, then your error logs and recent changes. If nothing changed on your side and the logs show server level errors, ask support for their logs for those times.

Can an expired domain or SSL certificate make my site go down?

Yes. An expired domain makes the site unreachable for everyone, and an expired certificate makes browsers show a security warning that stops most visitors. Auto-renew and renewal emails sent to a monitored mailbox prevent both.

Related problems