Contents
Before opening any site, the browser asks a DNS server for the domain’s IP address. NXDOMAIN (Non-Existent Domain) is an explicit answer that the name doesn’t exist in DNS, so Chrome shows This site can’t be reached and says the server’s IP address could not be found. That’s different from a server outage: the server may be fine, but the browser has no way to find it. The closely related ERR_NAME_NOT_RESOLVED has the same roots.
Common causes
- A typo in the name or extension, e.g.
.coinstead of.com. - The domain expired or was suspended by the registrar, for example because the owner’s email was never verified.
- Wrong nameservers, or none set yet at the registrar.
- No record for the requested name: the bare domain works but
wwwor a subdomain has no A or CNAME record. - A new domain or recent change that hasn’t propagated.
- A stale DNS cache on the device or router, or a VPN or extension that changes DNS.
Fixes for visitors
- Double-check the spelling of the address.
- Flush your device’s DNS cache:
# Windows (Command Prompt as administrator)
ipconfig /flushdns
# macOS
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
- In Chrome, open
chrome://net-internals/#dnsand click Clear host cache. - Change the DNS server in your network settings to
1.1.1.1or8.8.8.8, and pause any VPN. - Restart the router. If the site opens on another network, the problem is your network.
Fixes for site owners
- Check the domain’s status at your registrar or via WHOIS: is it active, when does it expire, and is the status
clientHoldorserverHold? Renew immediately if it lapsed; see domain expiration. - Check the nameservers at the registrar and make sure they’re spelled exactly right.
- Look up the records with the DNS lookup tool or the command line:
dig example.com A +short
nslookup www.example.com 8.8.8.8
If the whole domain returns NXDOMAIN, the problem is the registration or nameservers. If only www does, add the missing record.
- Add the missing record in cPanel under Domains » Zone Editor: an A record for the name, or a CNAME for
wwwpointing to the domain. - Wait for propagation if the change is recent. See DNS propagation.
How it differs from similar DNS errors
NXDOMAIN: a definite answer that the name doesn’t exist; the cause is usually the domain’s registration or records.SERVFAIL: the resolver couldn’t get a trustworthy answer, often because of DNSSEC or broken nameservers. See DNS SERVFAIL.- No reply at all: the DNS server your device or network uses isn’t working, as in DNS server not responding.
Prevention
- Turn on auto-renew and keep the owner email current so renewal and verification messages reach you.
- Re-check nameservers after any domain or hosting move.
- Always create a
wwwrecord; many visitors type it.
On ArabyHost
At your registrar, point the domain to the nameservers ns1.arabicode.com and ns2.arabicode.com; the essential records are then created for you, and propagation can take up to 24-48 hours. Generic extensions such as .com, .net and .io can be registered straight from the Araby Panel, while Arab country extensions such as .sa and .eg are registered with the accredited registrar and then pointed to ArabyHost. The full steps are in the connect a domain to hosting guide.
FAQ
Does NXDOMAIN mean the website was deleted?
Not necessarily. It only means DNS doesn't know the name right now. The domain may have expired or been suspended, the nameservers may be wrong, or it's new and still propagating, while the site's files are intact on the server.
Why does the site open on my phone but not my computer?
Usually the computer has a stale cached answer or uses a different DNS server. Flush the DNS cache or switch the DNS server to 1.1.1.1 or 8.8.8.8 and try again.
How long until a newly connected domain resolves?
A new domain usually resolves within hours, but a nameserver change can take up to 24-48 hours on some networks because of caching.