Before a browser connects to any site it asks DNS for the name’s IP address. If no valid answer comes back, it stops right there and shows this error, usually with “server IP address could not be found.” In other words, the request never reached the site’s server; the failure is in looking up the address.
Common causes
- A typo in the domain name or extension.
- The domain has expired or was never registered.
- Wrong nameservers, or a recent nameserver change that hasn’t propagated yet.
- No record for the requested name, such as
wwwor a new subdomain without an A or CNAME record. - Stale DNS cache in the browser, operating system or router.
- Your ISP’s DNS resolver misbehaving.
- An old line in the
hostsfile on your device.
How to fix it
If you’re a visitor
- Check the spelling of the name and extension.
- Clear Chrome’s DNS cache: open
chrome://net-internals/#dnsand click Clear host cache. - Flush the system cache: Windows
ipconfig /flushdns; macOSsudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder; Linux with systemdresolvectl flush-caches. - Switch DNS servers in your network settings to
1.1.1.1or8.8.8.8and try again. - Restart the router, and turn off any VPN.
If you own the site
-
Check the domain’s status and expiry date in WHOIS. An expired domain stops working even if the hosting is active.
-
Check the nameservers:
dig NS example.com +shortOr on Windows:
nslookup -type=ns example.com. You should see the servers running your DNS:ns1.arabicode.comandns2.arabicode.comif your DNS is with ArabyHost. -
Check the records for the root domain and
www:dig A example.com +short dig A www.example.com +shortOr use the DNS lookup tool. If nothing comes back, add the missing record in cPanel » Domains » Zone Editor.
-
For subdomains, create them in cPanel » Domains » Domains so the record is added to the hosting DNS zone automatically. If your DNS is elsewhere, such as Cloudflare, add the record there.
-
Wait for propagation after any change; DNS propagation explains why it isn’t instant.
Prevention
- Turn on auto-renew for the domain and keep your registrar email address current.
- Lower the TTL before editing records, and avoid changing nameservers and records at the same time unless you must.
- Check every new subdomain with a DNS lookup right after adding it.
On ArabyHost
Point the domain to ns1.arabicode.com and ns2.arabicode.com and the essential records are created automatically; you can edit them in cPanel’s DNS editor, one click from the Araby Panel. Generic extensions such as .com, .net, .io and .ai can be registered straight from the panel, while Arab country extensions like .sa, .eg and .ae are registered with the accredited registrar and then pointed to ArabyHost. The full steps are in connecting a domain to your hosting.
FAQ
What's the difference between ERR_NAME_NOT_RESOLVED and DNS_PROBE_FINISHED_NXDOMAIN?
Both mean the name couldn't be turned into an IP. Chrome shows NXDOMAIN when it has confirmed the name doesn't exist in DNS; ERR_NAME_NOT_RESOLVED is broader and can come from a temporary resolver problem.
How long should I wait after changing nameservers?
Usually a few hours, though some networks can take up to 48 hours because of caching. You can follow progress with a DNS lookup tool.
Why does my domain work without www but not with it?
Because www is a separate name that needs its own record, usually a CNAME to the main domain or an A record. Add the missing record in your DNS editor.