Skip to main content
Support Hours: 24/7 (technical team 11 AM to 8 PM PKT)WhatsApp: +92 313 2946143
Hosting Guides & Basics
8 min read
Published Nov 14, 2026

ERR_NAME_NOT_RESOLVED: What It Means and How to Fix It (2026)

ERR_NAME_NOT_RESOLVED means your browser could not find the IP address for a domain name. Fix it as a visitor (spelling, DNS cache, DNS server, Private DNS) or as the site owner (expiry, nameservers, A records, propagation).

Muhammad Anees Ur Rehman
Founder & Infrastructure Architect
Share Guide:
ERR_NAME_NOT_RESOLVED: What It Means and How to Fix It (2026)

What Does ERR_NAME_NOT_RESOLVED Mean?

ERR_NAME_NOT_RESOLVED means your browser could not turn the website's domain name into an IP address, so it never reached the server. The cause is on your side (a typo, an old DNS cache, a broken DNS server, a VPN or Private DNS setting) or on the owner's side (wrong nameservers, a missing A record, or an expired domain).

  • Visitor problem: the site opens on mobile data or another device, but not on your Wi-Fi or computer.
  • Domain problem: the name fails for everyone, on every network. A DNS lookup shows no IP address for the domain.
  • New or just-moved domain: the nameservers were changed in the last 24–48 hours and some networks still have the old answer.
Key Takeaway: Check the spelling, then test on mobile data. If the site fails everywhere, the fix is in the domain's DNS, not in your browser.

Is It ERR_NAME_NOT_RESOLVED or a Different DNS Error?

Chrome shows several DNS and connection messages. They look alike, but the exact code under the message tells you where to look. If the name resolves but the page still does not load, read our ERR_CONNECTION_TIMED_OUT guide. For the related NXDOMAIN message, see how to fix DNS_PROBE_FINISHED_NXDOMAIN.

ErrorWhat it meansWhere to look first
ERR_NAME_NOT_RESOLVEDThe domain name could not be turned into an IP addressSpelling, DNS cache, DNS server, nameservers, A record
DNS_PROBE_FINISHED_NXDOMAINThe DNS server answered that this domain or subdomain does not existSpelling, expired domain, missing record, nameservers
DNS_PROBE_FINISHED_NO_INTERNETThe device has no working internet connectionWi-Fi, router, mobile data
ERR_CONNECTION_TIMED_OUTThe name was found, but the server never replied in timeNetwork, VPN, firewall, server load
ERR_CONNECTION_REFUSEDThe server was reached but refused the connectionWeb server stopped, wrong port, firewall rule

How Do I Fix ERR_NAME_NOT_RESOLVED as a Visitor?

Try these steps in order. Test the website after each one.

1. Check the address

Look for a typo, a missing letter or the wrong ending, for example .com instead of .com.pk or .pk. Type the address yourself instead of using an old bookmark or a link from a message.

2. Try another network or device

Switch from Wi-Fi to mobile data, or open the site on another phone. If it works there, the problem is the DNS on your network or device, not the website.

3. Clear the DNS cache

Windows: open Command Prompt and run ipconfig /flushdns. macOS: open Terminal and run sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder. Chrome keeps its own cache: open chrome://net-internals/#dns, click Clear host cache, then restart the browser.

4. Change your DNS server

Your ISP's DNS server can be slow or down. Set a public DNS server such as Cloudflare (1.1.1.1 and 1.0.0.1) or Google (8.8.8.8 and 8.8.4.4) in your network adapter or router settings, then test again.

5. Check Private DNS on Android

On Android, open Settings and search for Private DNS (the menu names differ by phone). If a custom hostname is set and that DNS server is not working, many sites fail with this error. Choose Automatic, or turn it off, and test again.

6. Turn off VPN, proxy and DNS-filtering apps

VPNs, proxies, ad blockers and some antivirus apps change how DNS works. Turn them off one at a time. On Windows, also open C:\Windows\System32\drivers\etc\hosts and remove any line for the domain you cannot open.

Key Takeaway: Most visitor-side cases are fixed by clearing the DNS cache or switching to a public DNS server.

How Do I Fix ERR_NAME_NOT_RESOLVED on My Own Website?

If the site fails for everyone on every network, the problem is in the domain or its DNS. Check these in order.

1. Confirm the domain has not expired

Check the domain in your registrar account or a WHOIS lookup. An expired or suspended domain stops resolving for everyone. Renew it first, then give DNS some time to come back.

2. Check the nameservers

The nameservers set at your registrar must point to the DNS host that holds your records. For cPanel hosting, these are usually your hosting provider's nameservers. A typo in one nameserver, or nameservers that still point to an old host, is the most common owner-side cause. For .pk domains, nameservers are changed through PKNIC; see our .pk nameserver guide.

3. Check the A records for @ and www

In cPanel Zone Editor (or your DNS provider's panel), the root domain (@) needs an A record with your server's IP address, and www needs an A record or a CNAME that points to the root domain. If only one exists, example.com may open while www.example.com fails, or the other way round. Our DNS records guide explains each record type.

4. Wait for propagation after a change

After a nameserver change, some networks can keep the old answer for up to 24–48 hours. Record changes inside the same DNS zone usually update sooner, depending on the record's TTL. A global DNS checker (such as whatsmydns.net) shows which locations already see the new IP address.

5. Check subdomains and DNSSEC

A subdomain such as shop.example.com needs its own record. If DNSSEC is turned on at the registrar but the DNS zone has moved to a new host, the old DS record can make lookups fail. Remove the DS record or update it with the new DNS host's details.

6. Test the domain with nslookup

Run nslookup example.com 8.8.8.8 and nslookup example.com 1.1.1.1. If both return an IP address, DNS works and the problem is limited to some networks or devices. If they return "Non-existent domain" or no answer, fix the nameservers or records.

Key Takeaway: If the site fails on every network, check in this order: expiry, nameservers, A records, then propagation.

How Long Does It Take for a New Domain to Resolve?

A new domain usually starts resolving soon after its nameservers are set, but some ISPs keep an old "does not exist" answer in their cache for a while. Nameserver changes can take up to 24–48 hours to reach every network. During that time the site may open on mobile data but fail on home Wi-Fi, or open for you but fail for a customer. This is normal. If the site still fails everywhere after 48 hours, check the nameservers and A records again.

When Should I Contact Support?

Contact your domain registrar or hosting support when the domain fails on every network, when the nameservers look correct but nslookup returns no IP address, or when you are not sure which nameservers to use. Send the domain name, the nameservers set at the registrar, the time the error started and a screenshot of the error. At Alif Host, sales and general support are available 24/7 on WhatsApp (+92 313 2946143), and the technical team works from 11 AM to 8 PM PKT. If you need a new domain, you can search and register .com and .pk domains in PKR.

Frequently Asked Questions

Common Questions Answered

What causes ERR_NAME_NOT_RESOLVED?

The browser could not find the IP address for the domain. Common causes are a typo in the address, an old DNS cache, a slow or broken DNS server, a VPN or Private DNS setting, wrong nameservers, a missing A record, or an expired domain.

How do I fix ERR_NAME_NOT_RESOLVED in Chrome?

Check the spelling, clear Chrome's host cache at chrome://net-internals/#dns, flush your computer's DNS cache, and switch to a public DNS server such as 1.1.1.1 or 8.8.8.8. If the site still fails on every network, the domain's DNS needs fixing by the site owner.

Why do I get ERR_NAME_NOT_RESOLVED only on my phone?

Usually a Private DNS setting, a VPN or a DNS-filtering app on that phone, or a DNS problem on your mobile network. Set Private DNS to Automatic, turn off the VPN and test the site on Wi-Fi.

Can an expired domain cause ERR_NAME_NOT_RESOLVED?

Yes. When a domain expires or is suspended, it stops resolving and every visitor sees a DNS error. Renew the domain at your registrar and give DNS some time to come back.

How long does DNS propagation take after changing nameservers?

Up to 24–48 hours for every network to see the new nameservers. Many networks update sooner. Record changes inside the same DNS zone usually update faster, depending on the TTL.

What is the difference between ERR_NAME_NOT_RESOLVED and ERR_CONNECTION_TIMED_OUT?

ERR_NAME_NOT_RESOLVED means the browser could not find the server's IP address, so it never tried to connect. ERR_CONNECTION_TIMED_OUT means the IP address was found, but the server did not reply in time.

Muhammad Anees Ur Rehman
Written & Audited By

Muhammad Anees Ur Rehman

Founder & Infrastructure Architect • 3+ Years Experience

Muhammad Anees Ur Rehman is the Founder and Chief Infrastructure Architect at Alif Host. With 3+ years of hands-on work in Linux web hosting, LiteSpeed server optimization, and cloud virtualization, Anees builds and runs the hosting infrastructure behind Alif Host for Pakistani businesses, e-commerce stores, and digital agencies. A staunch advocate for transparent hosting policies and local payment integration (JazzCash, Easypaisa, Raast), he regularly publishes deep-dive technical benchmarks on server response times, WordPress performance, and cyber resiliency.

LiteSpeed Web Server TuningKVM Cloud VirtualizationcPanel & WebHost Manager (WHM)
View Full Author Profile & Articles
Featured Hosting & Infrastructure

Related Hosting & Infrastructure Solutions

Transparent PKR PricingPlans from PKR 300/month

Web Hosting Price in Pakistan: Plans in PKR

Compare web hosting plans and prices in Pakistani Rupees, with cPanel, free SSL and free migration on selected plans.

Web Hosting Price in Pakistan: Plans in PKR
15-Day Free TrialStarting at PKR 300/month

Web Hosting in Pakistan with Local PKR Billing

High-speed NVMe SSD cPanel web hosting with LiteSpeed. Includes a 15-day free trial and payment via JazzCash, Easypaisa, Raast or bank transfer.

Web Hosting in Pakistan with Local PKR Billing

Related Educational Articles

Back to Blog