Menu

Search tools and guides

DMARC & DKIMCheck DMARC and DKIM, generate records and keys
SPF Record CheckerValidate SPF and count lookups against the limit of 10
DNS Blacklist CheckerCheck IPs and mail servers against spam blocklists
Email Header AnalyserTrace hops, delays and SPF/DKIM/DMARC in raw headers
Email ValidatorSyntax, MX, SPF and DMARC verification
DNS LookupQuery A, AAAA, MX, TXT, NS and more
WHOIS LookupRegistration data over RDAP
Website StatusAvailability and response-time checks
Ports ReferenceWhat runs on each TCP and UDP port, and if it's safe
MAC Address LookupFind a MAC address vendor and check if it's random
Download Time CalculatorHow long a file takes at your broadband speed
QR Code GeneratorQR codes for Wi-Fi, links and text, as PNG or SVG
User Agent ParserWhat your browser says about itself, decoded
IP ConverterDecimal, hex, binary and IPv6 conversion
Subnet CalculatorCIDR ranges, masks and subnet splitting
CIDR AggregatorMerge IPs and ranges into the fewest CIDR blocks
SSL CheckerInspect certificates, chains and expiry
HTTP HeadersAudit security headers and redirect chains
Password GeneratorCryptographically secure random passwords
Hash GeneratorMD5, SHA-1, SHA-256, SHA-384 and SHA-512
JWT DecoderDecode JWT claims and verify HS256, RS256, ES256
Unix Timestamp ConverterConvert epoch seconds or ms to UTC and UK time
UUID GeneratorGenerate UUID v4, v7 and ULIDs; decode any UUID
Cron Expression ExplainerCron schedules in plain English, with next runs
Regex TesterTest JavaScript regex with live match highlighting
Chmod CalculatorUnix permissions as octal, symbols and commands
Colour Contrast CheckerWCAG contrast ratio for text and background colours
JSON FormatterPretty-print, minify and validate JSON
Base64 EncoderConvert to and from Base64, Unicode safe
URL EncoderPercent-encode and decode URL strings
HTML EntitiesEscape and unescape HTML special characters
Text Diff CheckerCompare two texts line by line, word by word
Word & Character CounterWords, characters, reading time and SMS segments
Case ConverterUPPER, lower, Title Case, camelCase and more
URL Slug GeneratorTurn titles into clean, SEO-friendly URL slugs
DNS records explained: A, AAAA, CNAME, MX, TXT, NS and the restWhat each common DNS record type does, the rules that trip people up – CNAMEs at the root, MX pointing at an IP – and how TTL and caching really work.
Mbps and MB/s: why downloads look slower than your broadband speedWhy a 100 Mbps line downloads at 12 MB/s, why a 1 TB drive shows 931 GB, what slows real transfers, and what a UK advertised average speed promises.
Setting up SPF, DKIM and DMARC for Microsoft 365Step by step for a domain on Microsoft 365, from the first SPF record to a DMARC policy of reject, avoiding the mistakes that cause bounces.
SPF "too many DNS lookups": why it happens and how to fix itWhat the ten-lookup limit in RFC 7208 counts, how to tally your own record, and the fixes that work without silently breaking mail.
How to read a DMARC aggregate reportA field-by-field tour of the XML that receivers send to your rua= address, and how to turn it into a list of senders to fix before you enforce.
What your IP address reveals – and what it does notHow IP geolocation really works, why it often puts you in the wrong town, what a website can and cannot learn from your address, and how UK law treats it.
Diagnosing a website that will not load: DNS, TLS and HTTP in orderA methodical checklist for working out whether an outage is DNS, the certificate, the server or just you – and what each kind of failure looks like.

Arrow keys move through results, Enter opens one, Escape closes.

Diagnosing a website that will not load: DNS, TLS and HTTP in order

A methodical checklist for working out whether an outage is DNS, the certificate, the server or just you – and what each kind of failure looks like.

By BD Digital Creations. Published , updated , 6 minute read.

In short

To diagnose a website that will not load, first check from another network whether it is down for everyone, then test the layers in the order a browser uses them: DNS, the TCP connection, the TLS certificate and the HTTP response. Each layer depends on the one before, so the first that fails is almost always the cause.

On this page

"The website is down" can mean a dozen different things. The domain may have expired, DNS may point at the wrong server, the certificate may have lapsed overnight, the application may have crashed, or the site may be fine and the problem is a single office network. Each has a different fix and often a different person responsible for it.

The quickest route to the answer is to test the layers in the order a browser uses them: name, connection, encryption, then the web server's response. Each layer depends on the one before it, so the first one that fails is almost always the cause.

Step 0: Is it down for everyone, or just you?

#

Before anything else, try the site from a different network – a phone on mobile data, with Wi-Fi switched off, is the easiest. Then run it through our Website Status checker, which requests the site from our server rather than from your connection and reports the DNS, connection and TLS timings and the HTTP status code it received.

  • Works elsewhere, fails for you: the problem is local. Suspect your DNS cache, a corporate firewall or web filter, a browser extension, or your router. Try a private browsing window, then restart the router.
  • Fails everywhere: the site really is down. Work through the layers below.

Step 1: DNS – does the name lead anywhere?

#

The browser's first job is to turn the domain into an IP address. Look up the site's A record (and AAAA for IPv6) in our DNS Lookup. There are three outcomes to look for.

NXDOMAIN: the name does not exist

The name is not in the DNS at all. The usual causes are an expired or suspended registration, or a domain that has no nameservers set at the registrar. Check the domain in our WHOIS Lookup: it shows the expiry date, the registrar, the domain's status codes and the nameservers it is delegated to. A domain in its post-expiry grace period can usually be renewed straight away through the existing registrar.

SERVFAIL: the lookup broke

The nameservers could not give a valid answer. One cause is nameservers that were changed to a provider where the zone was never set up. When a domain uses DNSSEC, the most common cause is a mismatch between the DS record held at the registrar and the keys the DNS host is signing with – typically after moving DNS to a new provider without updating or removing the DS record. Validating resolvers then refuse to answer at all, so the site disappears for a large share of users at once.

An answer, but the wrong one

If the address returned is not your server's, someone has changed the record, or you have just migrated and resolvers are still holding the old value. Each record has a TTL (time to live), shown in the lookup, which says how long resolvers may cache it. Until that time has passed some visitors will reach the old server. Lowering the TTL a day before a planned move avoids this.

Step 2: The connection – is anything listening?

#

With an address in hand, the browser opens a TCP connection to port 443 (HTTPS). Two different failures look similar in a browser but mean different things:

  • Connection refused: the server answered immediately to say nothing is listening on that port. The web server software is stopped, or bound to the wrong port.
  • Connection timed out: nothing answered at all. The server is off, a firewall is dropping the traffic, or the address is wrong.

The Website Status checker reports which of these it hit. From a terminal, curl -v https://example.co.uk shows the same thing in its first few lines.

Step 3: TLS – will the browser trust the certificate?

#

Once connected, the browser and server negotiate encryption, and the browser checks the site's certificate. Our SSL Checker connects the way a browser does and reports the certificate, its expiry date and the chain of authorities behind it. The failures to look for are:

ProblemWhat users seeTypical cause
Expired certificateA full-page warning in every browserAutomatic renewal failed – often because the validation check could not reach the server
Name mismatchWarning that the certificate is for a different siteThe certificate covers www.example.co.uk but not example.co.uk, or the reverse
Incomplete chainWorks on some devices, fails on othersThe server sends its own certificate but not the intermediate that links it to a trusted root
Self-signed or unknown issuerWarning on every deviceA default certificate from the server software, or one issued by a private authority

The incomplete chain deserves a special mention because it is so confusing. Some browsers fetch or remember missing intermediate certificates for themselves, so the site works for the person who set it up and fails for customers on a different device or for automated systems. If the report "it works for me" keeps coming up, check the chain.

Step 4: HTTP – what did the server say?

#

If the connection and certificate are fine, the server returns a status code. The Website Status checker and our HTTP Headers Checker both show it, along with any redirects along the way.

5xx: the server is at fault

  • 500 Internal Server Error: the application crashed while handling the request. Look in the application's error log; a recent code change or plugin update is the usual suspect.
  • 502 Bad Gateway: a front-end server or proxy could not get a valid response from the application behind it. On managed hosting this very often means the application process itself has stopped or failed to start.
  • 503 Service Unavailable: the server is overloaded, deliberately in maintenance mode, or has hit a resource limit set by the hosting plan.
  • 504 Gateway Timeout: the application is running but too slow; a database query or a call to another service is hanging.

4xx: the request was refused

  • 403 Forbidden: file permissions, a missing index file, or a firewall or security rule blocking the request – sometimes only for certain countries or for automated checkers, which is worth remembering if our checker gets a 403 while your browser does not.
  • 404 Not Found on the home page: the site's files are not where the server expects them, often after a deployment to the wrong folder.

Redirect loops

"Too many redirects" means each response points somewhere that points back. The classic case is a site behind a proxy or CDN that connects to the server over plain HTTP while the server insists on redirecting to HTTPS – the proxy passes the redirect back, the browser follows it, and the proxy asks the server over plain HTTP again. Switching the proxy to connect to the origin over HTTPS fixes it. The redirect chain in the Website Status result shows the loop step by step.

Step 5: It loads, but it is broken

#

If the page arrives with a 200 status but looks wrong – no styles, missing images, buttons that do nothing – open the browser's developer tools (F12) and look at the Console. Common causes are files that failed to load, "mixed content" (an HTTPS page loading a script over HTTP, which browsers block), and a Content-Security-Policy header that blocks a script the page needs. The HTTP Headers Checker shows the security headers a site sends and explains what each one allows.

A checklist to keep

#
  1. Test from another network, then with the Website Status checker.
  2. Look up the A and AAAA records; check for NXDOMAIN, SERVFAIL or a wrong address.
  3. If DNS is missing, check expiry and nameservers with WHOIS.
  4. Note whether the connection is refused or times out.
  5. Check the certificate's expiry, names and chain with the SSL Checker.
  6. Read the status code and the redirect chain.
  7. If the page loads but misbehaves, read the browser console and the response headers.

Working through the layers in that order turns a vague "it's down" into a specific fault with a specific owner: the registrar, the DNS host, the hosting company or the developer. That is usually most of the work done.

Spotted a mistake, or something out of date? Email hello@bddc.co.uk and we will correct it. How we research and maintain these guides is set out in our editorial policy.

Accessibility

Adjust how the site looks and behaves. Your choices are saved in this browser only.

Colour theme
Text size
Accessibility statement