Skip to content
Browser messages2 min read

ERR_NAME_NOT_RESOLVED: the server's IP address could not be found

ERR_NAME_NOT_RESOLVED

Short answer

ERR_NAME_NOT_RESOLVED means the browser couldn't translate the domain name into an IP address, so it didn't know which server to contact. The cause is either a typo, a domain that has expired or lacks correct DNS records, or a DNS problem on the visitor's device or network.

ArabyHost teamLast updated: ShareWhatsAppXLinkedIn
Contents
  1. Common causes
  2. How to fix it
  3. Prevention
  4. On ArabyHost

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 www or 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 hosts file on your device.

How to fix it

If you’re a visitor

  1. Check the spelling of the name and extension.
  2. Clear Chrome’s DNS cache: open chrome://net-internals/#dns and click Clear host cache.
  3. Flush the system cache: Windows ipconfig /flushdns; macOS sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder; Linux with systemd resolvectl flush-caches.
  4. Switch DNS servers in your network settings to 1.1.1.1 or 8.8.8.8 and try again.
  5. Restart the router, and turn off any VPN.

If you own the site

  1. Check the domain’s status and expiry date in WHOIS. An expired domain stops working even if the hosting is active.

  2. Check the nameservers:

    dig NS example.com +short

    Or on Windows: nslookup -type=ns example.com. You should see the servers running your DNS: ns1.arabicode.com and ns2.arabicode.com if your DNS is with ArabyHost.

  3. Check the records for the root domain and www:

    dig A example.com +short
    dig A www.example.com +short

    Or use the DNS lookup tool. If nothing comes back, add the missing record in cPanel » Domains » Zone Editor.

  4. 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.

  5. 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.

Useful? Share it with someone who needs it:WhatsAppXLinkedIn

Read next

Ready to put your idea online?

Fast, isolated hosting, support that understands you, and an AI assistant that fixes problems with you.