First: is it down for everyone, or just you?

Most “the site is down” messages are really “the site is down for me”. Two minutes of checking saves an hour of fixing the wrong thing.

  1. Load it from another network. Switch Wi-Fi off on your phone and open the site on mobile data. Your office network, VPN and DNS cache are now out of the picture.

  2. Ask from outside. Use an online down checker, or run this from any server or terminal you have:

    curl -sS -o /dev/null -w "%{http_code} in %{time_total}s\n" https://example.com/

    A 200 in under a few seconds means the server answers. A 5xx code means the server answered with an error. A timeout or “Could not resolve host” means it did not answer at all.

  3. Try a private window and a second browser. An old cached page, a browser extension or a stale redirect can make a working site look broken.

If the site loads from outside but not for you, skip to When only you are blocked. If it fails everywhere, read the error.

Read the error: what each one usually means

The words on the screen tell you which layer failed. Note the exact text, the status code if there is one, and the time.

What you see What it usually means Where to look first
“This site can’t be reached”, “server IP address could not be found” (DNS_PROBE_FINISHED_NXDOMAIN) The domain does not point anywhere: expired, nameservers changed, DNS record deleted The domain registrar and DNS host
“took too long to respond” (ERR_CONNECTION_TIMED_OUT) The server is not answering: down, overloaded, or a firewall drops the traffic The host’s status page and panel
“refused to connect” (ERR_CONNECTION_REFUSED) The server is up but nothing is listening, for example the web server stopped The host
A certificate warning (NET::ERR_CERT_DATE_INVALID and similar) The SSL certificate expired or does not match the domain The host’s SSL settings
500 Internal Server Error A PHP error or a broken .htaccess rule The server error log
502 Bad Gateway, 504 Gateway Timeout The web server or proxy got no answer from PHP in time PHP workers, memory, slow plugins
503 Service Unavailable, “Backend fetch failed” The server is overloaded or in maintenance, or a cache in front got nothing back The host, then the site’s load
“There has been a critical error on this website” A PHP fatal error, nearly always in a plugin or theme The admin email inbox and debug.log
“Error establishing a database connection” MySQL is down, or the details in wp-config.php are wrong The host, then wp-config.php
“Briefly unavailable for scheduled maintenance” An update stopped halfway and left a .maintenance file The site root
A blank white page A fatal error with error display turned off The error log
The host’s “account suspended” page Billing, or the account went over its limits The hosting account

Some of these have their own guides: Briefly unavailable for scheduled maintenance and, if the site redirects to spam or shows content nobody wrote, what to do when a site has been hacked.

Find the cause on a WordPress site

Work from the outside in. Each step either finds the cause or rules out a whole layer.

1. Ask what changed

Most outages follow a change. Check the last hour: automatic updates (core, plugins, themes), a deploy, a new plugin, a DNS edit, a PHP version switch in the hosting panel, a new CDN or firewall rule. If something changed and the timing fits, undo that first.

2. Check the host

Open the host’s status page and your hosting panel. Look for an incident, a server reboot, a full disk, CPU or memory limits hit, or a suspension notice. If several sites on the same server are down at once, the server or the host is the cause, not WordPress.

3. Check the domain and the certificate

Look up the domain’s expiry date with your registrar or any RDAP or WHOIS lookup. In the browser, click the padlock (or the warning) to see the certificate’s expiry date. Both expire on a date you can know in advance, and both take a site down for every visitor at once.

4. Read the logs

Your hosting panel has an error log, often per site. On the server it is usually the web server’s error log or a PHP-FPM log. For WordPress’s own errors, turn on logging in wp-config.php for a short time:

define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );

Errors then go to wp-content/debug.log instead of the screen (WordPress’s debugging guide). The last fatal error names the file and, through its path, the plugin or theme. Set the three lines back to false and delete debug.log when you are done: the file can be read from the web unless the server blocks it.

5. Switch off the plugin or theme at fault

If wp-admin still opens, deactivate the plugin the log names. If it does not, rename its folder over SFTP (wp-content/plugins/plugin-name to plugin-name.off), or use WP-CLI, which can skip the broken code while it runs:

wp --skip-plugins --skip-themes plugin deactivate plugin-name

Renaming the folder back, or wp plugin activate plugin-name, undoes it. If the theme is at fault, wp theme activate twentytwentyfive switches to a default theme until it is fixed.

6. A database error

Compare DB_NAME, DB_USER, DB_PASSWORD and DB_HOST in wp-config.php with the database in your hosting panel. If they match, the database server itself is the likely cause: ask the host whether MySQL is running and whether the account hit its connection limit.

7. Too much traffic

A slow site that times out under load is often a bot crawl or an attack on wp-login.php or xmlrpc.php. The access log shows which addresses and paths. A page cache, a firewall rule against the worst bots, and asking the host for more PHP workers each help; turning the site off and on does not.

When only you are blocked

If the site works for everyone but you, the site is probably protecting itself from you. Security plugins and host firewalls lock out an address after several failed logins or a burst of requests, and some answer with a timeout rather than a clear message. Office networks share one public address, so one person’s wrong password can lock out the whole office.

Check from your phone on mobile data. If that works, look in the security plugin’s lockout list or ask the host to check its firewall for your address. Also clear your computer’s DNS cache if you changed DNS recently: your machine may still be asking the old server.

What to tell the client

Clients mostly want three things: that you know, that someone is on it, and when they will hear next. Send it before they ask.

The website has been down since 10:42 this morning. We have found the cause, a plugin update that failed, and are putting the previous version back. We expect the site to be up within 30 minutes and will message you as soon as it is.

Afterwards, send one line on what happened and what changes so it does not happen again. Keep the technical detail for the monthly report. If the outage was the host’s, say so plainly and say what you asked the host to do.

Stop finding out from the client

The worst way to learn a site is down is a phone call from its owner. An uptime monitor that checks every minute finds it first. Two things make a monitor worth trusting:

  • It reads the page, not just the status code. A WordPress critical error, a database error or a blank page can still answer 200 OK. A check that only looks at the code calls that site up.
  • It gets a second opinion before it wakes anyone. A host that blocks the monitoring server looks exactly like an outage from that one server. Checking from other places first stops false alarms, which is what makes people keep reading the alerts.

More on choosing one: website and uptime monitoring for agencies.

How Keptstone handles it

Keptstone checks every client site every minute and reads the page, so a WordPress critical error, a database error, a blank page or a stuck maintenance page counts as down even when the server answers 200. Before it calls a site down, it loads the site from four other places on the internet (probes in North America). If they load it fine, the host is blocking Keptstone rather than visitors, and the site is shown as up from outside with the address to allow; its updates carry on through check-in mode. Every 15 minutes it also asks for the home page past the page cache, which catches a site whose cached home page still works while every page it builds fails.

The down alert goes out once an outage has lasted 10 minutes, as one message per server when several sites drop together, with a “back up” message after. Certificates are checked daily and domains weekly, so those two outages are warnings weeks ahead instead. Monitoring is in both plans: Care at $2 a site a month, and Care + Protect + Speed at $4 (pricing).

Questions

How do I check if my website is down for everyone?

Load it on a phone with Wi-Fi switched off, so the request leaves your office network, and run it through an online down checker or curl from a server you control. If it loads elsewhere but not for you, the problem is your network, your browser or a firewall that has blocked your address.

Why is my website down when I didn't change anything?

Something else changed: an automatic plugin or core update, an expired domain or certificate, a host outage, a server that ran out of memory or disk, a traffic spike from bots, or a suspended hosting account. Check those in that order, starting with the exact error the browser shows.

Why does my site work for me but not for my client?

Either the client's network or browser has a stale copy, or the site's firewall or security plugin has locked out their address, often after a few wrong passwords. Ask for a screenshot of the exact error and the address it shows.

How long should I wait before calling the host?

If the host's status page shows an incident, or the error is a timeout, a refused connection or a 502 or 504 on several sites at once, call or open a ticket straight away. For a WordPress error page on one site, the fix is usually yours, and the steps on this page find it.