How to Tell If Your Site Is Down or Just Slow
A site that is down returns nothing useful at all, while a slow site returns everything eventually. The quickest way to tell them apart is to time a single request and look at whether the connection is refused, hangs, or completes. If a request completes with a valid response, even after several seconds, you have a performance problem, not an outage. If it fails to connect or times out with no response, you have an availability problem and should escalate.
Most confusion about whether a site is down or slow comes from testing the wrong thing. A browser retries, follows redirects, loads dozens of subresources and caches aggressively, so a page that feels dead may be waiting on one slow third party script while the origin server answers in milliseconds. Test the origin directly with a tool that reports each phase of the request, then work outward.
Start with one request and read the timings
The single most useful command is curl with its timing variables. It separates DNS lookup, TCP connect, TLS handshake and time to first byte, so you can see exactly where the delay lives. Run it against the hostname your visitors use, not an IP address, so DNS is included.
curl -sS -o /dev/null -w \
'dns=%{time_namelookup} connect=%{time_connect} tls=%{time_appconnect} ttfb=%{time_starttransfer} total=%{time_total} code=%{http_code}\n' \
https://example.com/
The output is a single line of key equals value pairs, for example dns=0.012 connect=0.041 tls=0.089 ttfb=0.310 total=0.412 code=200. Read it in order. A large time_namelookup means resolver trouble. A large gap between connect and time_appconnect points at a slow TLS handshake, often a certificate chain or cipher negotiation issue. A large gap between time_appconnect and time_starttransfer is the application thinking, which means PHP, a database query, or an upstream proxy. If total is close to ttfb the body is small and the server is the bottleneck, not the transfer.
If the command hangs and never prints a line, watch what happens at connect time. A connection refused error is immediate and unambiguous: something is listening nowhere on that port, so the service is down or the port is wrong. A timeout with no error means packets are being dropped, which is either a firewall, a network path problem, or an overloaded backlog. Those are different faults with different fixes, so note which one you saw before you open a ticket.
Separate slow responses from slow rendering
If curl shows a healthy ttfb but the page still feels slow in a browser, the origin is fine and the problem is on the client side or in the subresources. Check whether the response carries a Cache-Control header that permits caching, and whether it is being served through a CDN that is actually hitting an edge near the visitor. A missing or no-store cache header forces a full round trip on every view.
curl -sSI https://example.com/ | grep -iE \
'^(HTTP/|cache-control|age|server|content-length|x-cache)'
You get back the status line and the selected headers, something like HTTP/2 200, cache-control: max-age=600, age: 42, x-cache: HIT, content-length: 18342. An age header above zero proves the response came from a shared cache, which is what you want for static assets. If a page is slow only for some visitors, this header set usually tells you whether they are reaching a healthy edge or being routed to a distant origin.
Use the right monitor for the right question
Uptime monitors answer one question: did the check succeed within its timeout. Configure them to assert on the HTTP status code and, ideally, on a string that only appears in a correct response, because a server returning a 200 error page is still down from the visitor's point of view. Set the timeout deliberately. A monitor with a ten second timeout will report a genuinely slow site as down, which is a false positive that wastes everyone's time. If your monitor flags a site as down, reproduce with curl from a host outside your own network before you escalate, since a monitor running from one region can be wrong about the whole world.
For slow but working sites, use a synthetic check that records timings rather than a binary up or down, and compare the trend over hours. One slow sample is noise. A rising ttfb across many checks is a real regression. Keep the check interval and the request path identical between samples or the comparison is meaningless.
What to check on the server before you page anyone
When the request reaches your own machine, look at load and memory first. High load with low CPU use usually means processes are blocked on disk or network. Memory pressure with swap activity explains slow responses that eventually succeed. Check the web server's error log and the application log for the same timestamp as your slow request; a slow query or a timeout to a backend will usually leave a line there.
Confirm the listener is actually up and accepting connections, rather than assuming from a process listing. ss -ltnp shows listening sockets and the owning process, and a missing entry for your port is a definitive down. Then test the health endpoint directly from the box, bypassing the CDN and any load balancer, so you know whether the fault is in your application or in the path in front of it.
ss -ltnp | grep ':443'
curl -sS -o /dev/null -w '%{http_code} %{time_total}\n' \
http://127.0.0.1:8080/health
The first command prints the listening socket and process name if it exists and nothing if it does not. The second prints a status code and a total time, for example 200 0.003. If the loopback health check is fast and correct but the public hostname is slow, the problem is in the proxy, TLS termination, or the network, not the application. That distinction is the one support teams ask for first, so lead with it.
What to do next
Reproduce the fault with curl from a machine outside your own network, capture the timing line and the status code, and note whether the failure was a refusal, a timeout, or a slow but valid response. Send that evidence with the timestamp in UTC and the exact URL you tested. If the site is genuinely down, escalate immediately with that output. If it is slow, gather a few samples over several minutes and check the server logs at those timestamps before you escalate, because a pattern of slow responses is a different ticket from an outage and will be routed to a different person.
