Troubleshooting guide
Is my website down? How to check and what to do next
First work out whether it is down for everyone or only for you. Then go through the layers in order: DNS, connection, TLS, HTTP and the application.
3 min read10 sectionsUpdated
On this page
What the browser tells you
DNS_PROBEorERR_NAME_NOT_RESOLVED: DNS.ERR_CONNECTION_REFUSED: nothing is listening.ERR_CONNECTION_TIMED_OUT: a firewall, or the host is down.- Certificate warnings: TLS.
- 502, 503, 504: a proxy reached, the backend failing.
- 500: the application itself.
- A blank or wrong page with status 200: a logic or deployment problem.
# 1. DNS: does the name resolve?
dig +short example.com
# 2. TCP: is the port open?
nc -vz -w5 example.com 443
# 3. TLS: is the certificate valid?
echo | openssl s_client -connect example.com:443 -servername example.com 2>/dev/null | openssl x509 -noout -dates
# 4. HTTP: status and time per phase
curl -s -o /dev/null -w 'code %{http_code} dns %{time_namelookup} connect %{time_connect} tls %{time_appconnect} ttfb %{time_starttransfer}\n' https://example.com/
# 5. On the server: load, disk, services, recent errors
uptime; df -h /; systemctl --failed; journalctl -p err --since "15 min ago" | tailWhat to do next
Check what changed: a deployment, a config change, a certificate renewal, or an expiring domain. If a recent deployment lines up, rolling back is usually fastest. Tell people quickly: post on your status page before you have the answer, stating what you know. Also check your providers' status pages, as your host, CDN or DNS may be the source.
Common false alarms
Some "site down" reports are really narrower problems. A CDN issue in one region affects only those users, so a check from your office proves nothing. A firewall rule or rate limit may block a single country or an office IP. A stale DNS cache can make a successful migration look like an outage to one person. Only one page may be broken, such as checkout, while the home page loads perfectly. That last case is the most expensive, because a simple homepage check stays green while you lose sales.
Know before your users do
Do not rely on customers to tell you. Uptime monitoring checks every minute, with alerts through Slack or on-call. See how to monitor website uptime, and keep an incident response plan ready.
Why does the site work for others but not me?
Your network, DNS cache, VPN or browser is probably the cause.
What should I check first?
Whether it fails from another network, and then what changed recently.
How can I know immediately next time?
Set up external monitoring from several regions with alerts.
Related reading
- CBSE result website not working: where else to check: Why CBSE result websites slow down on result day, how to check if they are down, and the other official ways students use to see results, such as DigiLocker.
- Website monitoring: Monitor a website around the clock: uptime checks with content assertions, Core Web Vitals from real visitors, JavaScript errors, session replay and alerts.
- IRCTC slow or not working at Tatkal time: what to do: Why IRCTC slows down at 10 and 11 a.m. Tatkal opening, how to check if it is down, and practical steps to book faster with fewer errors and payment failures.
- What is URL monitoring?: URL monitoring explained: scheduled checks of a URL for status code, content, response time, redirects and SSL, with sensible settings.
- GST portal slow or not working near the due date: Why the GST portal slows down around monthly return due dates, how to check if it is down, and how to file GSTR returns reliably when the portal is overloaded.
- UPI not working today? How to check and what to do: Why UPI payments fail: bank servers, NPCI, app problems and limits. How to check if UPI is down, what to do if money is debited, and how to pay meanwhile.
Watch your own site and services with VitalRix
Uptime checks, APM, logs, real-user monitoring, alerts and status pages in one place. Every product has a free tier and no credit card is needed.