ERR_NAME_NOT_RESOLVED Error: causes and fix
Quick answer: Your device couldn't turn the site's name into an IP address through DNS. Check the address and your connection first, then flush the DNS cache and switch DNS servers if needed.

Symptoms
- "This site can't be reached" with the code ERR_NAME_NOT_RESOLVED
- "example.com's server IP address could not be found"
- net::ERR_NAME_NOT_RESOLVED inside an Android app or an in-app web page
- The same error for a file or subdomain in the browser console (for developers)
Likely causes
- Your device's or provider's DNS server isn't responding or can't be reached.
- The address is mistyped, or the domain doesn't exist or has expired.
- The DNS cache on your device or router holds an old or broken entry.
- A VPN, proxy or the browser's "secure DNS" setting points to a server that doesn't answer.
- You're not actually online at that moment (for example, Wi-Fi with no internet).
Step-by-step fix
Start from step one and test again after each step; steps go from the simplest to the most technical.
-
Check the address and connection
Double-check the spelling of the address and open another well-known site. If no site loads, the problem is your internet connection, not this site.
-
Test on another connection
Open the same address on mobile data or another network. If it loads, your current network's DNS is the problem. If it fails everywhere, the domain itself is probably broken or expired.
-
Restart router and device
Both your router and your device cache DNS answers. Unplug the router for 30 seconds and restart your phone or computer once.
-
Flush the DNS cache
On Windows, open Command Prompt and run ipconfig /flushdns; it's safe. In Chrome you can also open chrome://net-internals/#dns and click "Clear host cache".
-
Check Chrome's secure DNS
In Chrome, go to "Settings > Privacy and security > Security" and find "Use secure DNS". If it's set to a custom provider, switch it back to the default or turn it off and on once.
-
Change your device's DNS
In Windows network settings, enter a reputable public DNS server such as 8.8.8.8 or 1.1.1.1. On Android, if you set "Private DNS" to a hostname that no longer works, set it back to "Automatic".
-
Check your VPN app
If a VPN is on, turn it off and try again. Some VPN apps change DNS settings and leave them broken after they close; restarting the device usually fixes it.
-
Site owners: check domain records
In your registrar's panel, confirm the domain hasn't expired and the nameservers are correct. If the error only shows for one subdomain or a file in the console, that subdomain's DNS record (A or CNAME) is probably missing or wrong.
If nothing worked
If you get the same error on every connection and every DNS server, the domain really doesn't exist, has expired or its records were deleted. There's nothing a visitor can do.
If only one device shows the error while others on the same network open the site, the problem is that device: check manual DNS settings, extensions, VPN apps or security software.
Don't use random DNS addresses passed around online or unknown "DNS fixer" apps.
Frequently asked questions
What's the difference between ERR_NAME_NOT_RESOLVED and DNS_PROBE_FINISHED_NXDOMAIN?
Both mean the site's name couldn't be turned into an IP address. NXDOMAIN means the DNS server explicitly said the domain doesn't exist; ERR_NAME_NOT_RESOLVED is broader and can mean DNS never answered at all. The fixes are almost the same.
Why does the error appear in only one phone app?
Some apps contain a built-in web page and show this code directly. If the same site opens in your browser, update the app and clear its cache; if you set Private DNS manually on the phone, switch it back to Automatic.
Related problems

DNS_PROBE_FINISHED_NXDOMAIN Error
DNS couldn't turn the site's name into an IP address. Check the spelling first, then flush the DNS cache with ipconfig /flushdns and switch DNS servers if needed.

ERR_CONNECTION_TIMED_OUT Error
The site didn't answer in time, usually because of your connection, a regional block or the site's server. Test on another network first, then restart your router and toggle any VPN.

Wi-Fi Connected but No Internet
Being connected to Wi-Fi only means you're linked to the router, not the internet. Check the router's internet light, restart it, then rule out an outage or an unpaid bill.
Terms used on this page
More Internet, Browser & Website Errors problems
All problems Internet, Browser & Website Errors
Last updated: