Technical Anshu
Tutorials Blog

Watch the complete fix in the video: ERR_NAME_NOT_RESOLVED Error Fix Internet Working But Website Not Opening - every step below is shown on screen, in the same order.

Every website name has to be translated into a numeric IP address before Chrome can connect, and that translation is done by DNS. ERR_NAME_NOT_RESOLVED means that translation failed. Chrome asked for the address and got no usable answer, so the page never even starts loading. The fault sits in one of three places: a stale entry in Chrome's own host cache, a stale entry in the Windows DNS cache, or a DNS server that is slow, filtered or down. The steps below clear the caches first, then test Secure DNS, and only then change the DNS server itself - so you fix the real cause instead of changing everything at once.

Google Chrome  ·  This site can't be reached
This site can't be reached

X The page says the site's server IP address could not be found

X Reloading the page shows the same error every time

X Other apps on the same PC are still online, or some sites open and others do not

ERR_NAME_NOT_RESOLVED  Chrome could not resolve the site name into an IP address through DNS.

The fingerprint of this problem: the connection is up, but the name lookup fails, so Chrome never reaches the site.

1

Check the URL Spelling and Reload the Page

Start with the simplest cause. A single wrong letter creates a name that genuinely does not exist, and no DNS server in the world can resolve it.

  1. Read the address in the address bar letter by letter. Check for swapped letters, a missing dot, or an extra character at the end.
  2. If you clicked a link, type the main domain by hand instead, for example the site name followed by .com, and press Enter.
  3. Press Ctrl + R to reload. If the site opens now, it was a typo or a one-time lookup glitch and you are done.
  4. Open two or three other well-known sites. If they all fail with the same error, the problem is your DNS setup - continue to Fix 2. If only one site fails, keep that in mind for the FAQ at the end, but still try Fix 2 and Fix 3 once.
2

Clear the Chrome Host Cache and Flush Socket Pools ⭐

Chrome keeps its own DNS cache, separate from Windows. When a site changes its IP address, or a bad answer gets cached, Chrome keeps using the old wrong answer until the cache expires. Clearing it forces Chrome to look every name up fresh, and this is the fix that solves the error most often.

  1. In Chrome, open a new tab, type chrome://net-internals/#dns in the address bar and press Enter.
  2. Click the Clear host cache button on that page.
  3. Now open chrome://net-internals/#sockets and click Flush socket pools. This closes pooled connections that are still holding the old address.
  4. Go back to the failing site and reload it with Ctrl + Shift + R for a full reload.
  5. Note: on newer Chrome versions the net-internals pages can look slightly different, but the Clear host cache button is still on the DNS page. If the page does not open at all, close Chrome completely, reopen it, and try again - a fully closed browser also drops its in-memory cache.
3

Flush the Windows DNS Cache

Windows caches DNS answers for every program, not just Chrome. If that cache holds the bad answer, Chrome will keep receiving it even after its own cache is cleared.

  1. Click Start, type cmd, right-click Command Prompt and choose Run as administrator. Approve the prompt.
  2. Run this command exactly as written:

ipconfig /flushdns

  1. You should see the message: Successfully flushed the DNS Resolver Cache.
  2. Close Command Prompt, restart Chrome, and test the site again.
4

Turn Off Secure DNS in Chrome and Retest

Chrome has a setting called Use secure DNS, which sends lookups to a DNS-over-HTTPS provider instead of your normal resolver. If that provider is blocked by your network, filtered by your provider, or simply failing, every lookup inside Chrome fails while the rest of Windows still works.

  1. Open Settings > Privacy and security > Security. You can also type chrome://settings/security in the address bar.
  2. Scroll to the Advanced section and find Use secure DNS.
  3. Turn it Off for this test, then reload the failing site.
  4. If the site now opens, Secure DNS was the cause. You can leave it off, or turn it back on and choose a specific provider such as Google or Cloudflare from the list instead of the automatic option. If nothing changed, turn it back to its previous setting and continue to Fix 5.
5

Change Your DNS Server to Google or Cloudflare

If the caches are clean and Secure DNS is not the cause, the DNS server your connection uses by default is the problem - it may be down, slow or returning wrong answers. Switching to a large public resolver is the standard test and, for most people, the permanent fix.

  1. Press Win + R, type ncpa.cpl and press Enter to open Network Connections.
  2. Right-click your active connection - Wi-Fi or Ethernet - and choose Properties.
  3. Select Internet Protocol Version 4 (TCP/IPv4) and click Properties.
  4. Select Use the following DNS server addresses and enter one pair. Google: Preferred 8.8.8.8, Alternate 8.8.4.4. Or Cloudflare: Preferred 1.1.1.1, Alternate 1.0.0.1.
  5. Click OK, then OK again. Run ipconfig /flushdns once more as in Fix 3 so no old cached answer survives the change, restart Chrome, and test.
  6. To undo this later, reopen the same box and select Obtain DNS server address automatically.
6

Turn Off Preload Pages and Clear Browsing Data

Two last Chrome-side causes remain: the Preload pages feature, which resolves and loads pages in the background, and old cached page data. Both are quick to rule out.

  1. Open Settings > Privacy and security > Cookies and other site data and turn off Preload pages for faster browsing and searching. On newer versions this setting sits under Settings > Performance as Preload pages - turn it off there instead.
  2. Press Ctrl + Shift + Delete to open Clear browsing data.
  3. Set the time range to All time, tick Cookies and other site data and Cached images and files, and leave Passwords unticked. Click Delete data. You will be signed out of most sites - that is normal.
  4. Restart Chrome completely and test the site one more time. If it still fails on this PC but opens on your phone on the same Wi-Fi, restart the router once as well, because routers run a DNS relay that can also cache bad answers.
7

Software Needed

No extra software is required. Every step uses tools built into Chrome and Windows: the net-internals pages, Settings, Network Connections and Command Prompt. The only external services involved are the free public DNS resolvers from Google and Cloudflare, and using them needs no account and no installation. Avoid third-party DNS changer or internet repair tools for this error - they change the same settings shown above, often without telling you what they changed, which makes later troubleshooting harder.

Change one thing at a time: after each fix, test the site before moving on. If you clear both caches, change DNS and clear browsing data all in one go, the site will probably open - but you will never know which step fixed it, and when the error returns in three months you will have to redo everything instead of the one step that matters.
What NOT to do: do not edit the Windows hosts file to hard-code a site's IP address as a fix for this error. Site IPs change without notice, the hard-coded entry then breaks the site permanently, and a wrong hosts entry is itself a common hidden cause of single-site failures. If someone with access to this PC edited the hosts file before, that is worth checking - but the fix there is removing the wrong entry, not adding new ones.

More PC Fixes on Technical Anshu

Every week: Windows problems, hidden tools and full setup guides, explained step by step.

Subscribe on YouTube

Frequently Asked Questions

What does ERR_NAME_NOT_RESOLVED mean in Chrome?

It means Chrome asked DNS for the IP address of the site you typed, and the lookup failed, so Chrome does not know where to connect. The internet itself can still be working in other apps. The cause is usually a stale DNS cache, a failing DNS server, or a wrong Secure DNS setting.

Why does the internet work in other apps but Chrome shows this error?

Other apps may already be connected, or they may use a different resolver. Chrome keeps its own host cache and can also use its own Secure DNS provider. If Chrome's cache or Secure DNS choice is broken, Chrome fails while other programs still work. Clearing the Chrome host cache and testing with Secure DNS off separates the two.

Is it safe to change my DNS to 8.8.8.8 or 1.1.1.1?

Yes. 8.8.8.8 and 8.8.4.4 are Google Public DNS, and 1.1.1.1 and 1.0.0.1 are Cloudflare DNS. Both are free public resolvers run by well-known providers. Changing DNS only changes which service translates site names into IP addresses. You can change it back to automatic at any time.

Only one website shows ERR_NAME_NOT_RESOLVED. What does that mean?

If every other site opens, the problem is likely with that one site: its domain may have expired, its DNS records may be wrong, or its hosting may be down. Check the spelling carefully, try the site on your phone over mobile data, and if it fails there too, only the site owner can fix it.

Will clearing browsing data delete my passwords and bookmarks?

No, not if you only tick Cached images and files and Cookies. Bookmarks are never part of browsing-data cleanup. Passwords are only removed if you tick Passwords, so leave that box unticked. Clearing cookies signs you out of most websites, which is expected.

Guide by Technical Anshu · Problem collected from real user reports in Google Chrome Help - Get help with common error messages in Chrome (ERR_NAME_NOT_RESOLVED listed) and widely reported on Reddit r/chrome as the site's server IP address could not be found; solution written in original words and verified against Google Chrome Help. The video at the top of this page is the exact fix video for this problem. No Shorts are linked in this blog.