Server not found: the domain will not resolve

PlatformAny website Doing it yourself15 minutes to a few hours, plus any propagation Checked

Written and checked by Sajid, Founder & Web Engineer

The short answer

The browser could not turn your domain name into a server address, so it never even reached a server. NXDOMAIN means "no such domain" from DNS. The usual causes are an expired domain, missing or wrong DNS records, a nameserver problem, or a local DNS glitch on your own machine. The files are fine; the address lookup is failing. Fixing the DNS records, or renewing the domain, gets it resolving again.

Is this your problem?

  • "Server not found", "This site can't be reached", or DNS_PROBE_FINISHED_NXDOMAIN
  • It fails for everyone, or only for you while others reach it
  • Email on the domain stopped at the same time, pointing at DNS or the domain itself
  • It started after a nameserver change, a host move, or around the renewal date
  • The www version works but the bare domain does not, or the other way round

What usually causes it

1
The domain expired

How to tell: An unpaid or lapsed domain stops resolving entirely until it is renewed.

2
Missing or wrong DNS records

How to tell: The A record or CNAME is missing or points nowhere, so there is no address to return.

3
A nameserver problem

How to tell: The domain points at nameservers that are wrong, empty, or not responding.

4
DNS still propagating after a change

How to tell: A recent nameserver or record change has not spread yet, so some lookups fail.

5
A local DNS glitch

How to tell: Your own computer or router has a stale or broken DNS cache, so only you cannot resolve it.

Before you touch anything

  • Check it from another network (your phone on mobile data). If it works there, the problem is your machine or network, not the domain.
  • Check the domain is not expired in your registrar account, and note any recent DNS or nameserver change.

How to fix it, step by step

  1. 1

    Rule out your own machine

    If only you get it, flush your DNS (ipconfig /flushdns on Windows, sudo dscacheutil -flushcache on a Mac), restart the router, and try a public DNS like 1.1.1.1. If that fixes it, the domain was fine.

  2. 2

    Confirm the domain is not expired

    Log in to your registrar and check the status and expiry date. Renew it if it lapsed; resolving returns once it is active again.

  3. 3

    Check the nameservers

    Confirm the domain points at the correct nameservers (your host or DNS provider). Wrong or empty nameservers mean no records can be found.

  4. 4

    Check the A record exists

    In your DNS panel, confirm there is an A record for the domain pointing at your server IP, and a record for www. A missing record returns NXDOMAIN.

  5. 5

    Use a DNS checker

    Run the domain through a DNS lookup or propagation tool. It shows whether records exist and what the world sees, and whether a recent change is still spreading.

  6. 6

    Wait for propagation if you just changed it

    If you fixed records or nameservers, allow time to propagate, usually a few hours and up to a day or two, while checking the tool.

Stop and get help if

  • The domain is fine and records look correct but it still will not resolve for anyone, which needs a registrar or DNS provider ticket.
  • The domain expired into a redemption period and recovering it is time-critical.
  • Email and the site both went down together and you are not sure what changed in DNS.
Fix it for me

Stop it happening again

  • Keep the domain on auto-renew, and keep the registrar contact email current.
  • Do not change nameservers or delete DNS records without a reason and a record of what they were.
  • Lower the TTL before a planned DNS change so it spreads faster.
  • Keep the domain and the hosting under accounts you control and can reach.

Questions people ask

Does NXDOMAIN mean my site is gone?

No. It means the name did not resolve to an address. The files and server are usually fine; the DNS lookup failed.

Why does it work for others but not me?

Your own machine or router has a stale DNS cache. Flush DNS, restart the router, or switch to a public DNS resolver.

I renewed the domain. Why is it still down?

Resolving can take a little while to return after renewal, and your own DNS cache may hold the failure. Flush it and give it time.

Not sure where your site stands?

Paste the address. Security, speed, SEO and how old the tech is, in about ten seconds.

Still broken? We can fix it.