When you try to access a website, you may encounter an ERR_NAME_NOT_RESOLVED error message. This means that, for some reason, the web page cannot be reached. If the site is yours, this error can harm your reputation and drive away potential customers.

Fortunately, you can do a few things to resolve this issue. Let’s get started!

Check Out Our Video Guide to Fixing the “ERR_NAME_NOT_RESOLVED” Error:

What Does “ERR_NAME_NOT_RESOLVED” Mean?

ERR_NAME_NOT_RESOLVED means your browser couldn’t find the IP address behind the domain you’re trying to reach.

That lookup is handled by the Domain Name System (DNS), which works like an address book for the internet: every domain name has an IP address behind it, and DNS is what connects the two.

When that lookup fails, you’ll see one of these messages:

  • “This webpage is not available”
  • “This site can’t be reached”

The site may exist and be perfectly healthy. Your browser just couldn’t find its address, which means the fix is almost always on your end.

What Are the Causes of “ERR_NAME_NOT_RESOLVED”?

The ERR_NAME_NOT_RESOLVED error typically indicates a problem with your internet or computer. For example:

  • The website may have moved to another IP address, and your browser is getting the outdated address from the cached data.
  • You have a poor internet connection.
  • Your firewall might be blocking access to the website.

However, there might also be a problem with the website’s DNS records. If that’s the case, other visitors will experience the same error, and there’s nothing you can do to fix it (unless the site is yours).

Alternatively, the error might be caused by a poor hosting service. If you often encounter the “This site can’t be reached” message when trying to access your site, it might be time to switch to a better web host.

At Kinsta, we offer reliable web hosting for individuals and businesses. Plus, our plans come with an APM tool that enables you to identify and resolve performance issues on your site.

If you run into problems, our team is always available to help. Every Kinsta plan comes with 24/7 expert support so you can resolve any issues promptly.

11 Proven Methods to Fix the “ERR_NAME_NOT_RESOLVED” Error

Now that we know what causes the “ERR_NAME_NOT_RESOLVED” error, let’s look at a few effective ways to fix the problem and regain access to your site.

1. Check the URL

Before touching any settings, double-check the URL. A typo like .cmo instead of .com, a missing hyphen, or an extra / at the wrong place will produce this exact error every time.

If you’re not sure about the correct address, search for the site on Google and click through from there. It takes five seconds and rules out the most common cause.

2. Test Your Internet Connection

The second step is to establish whether a problem with your internet connection is causing the error. To do this, try to access the site from a different WiFi network.

If it works, then you may simply need to restart your router. Don’t worry if this doesn’t solve the problem — there are several other things you can try!

3. Check If the Site Is Actually Down

If the error is only happening on one specific website, there’s a good chance the problem is on their end, not yours.

Use a tool like downforeveryoneorjustme.com or isitdownrightnow.com to check. If the site is down for everyone, there’s nothing to fix on your side. Come back in a few minutes.

4. Clear the DNS Cache on Your Computer

The “ERR_NAME_NOT_RESOLVED” error might also be caused by outdated cache items on your device. To fix this issue, you’ll need to flush the DNS cache on your computer.

If you use Windows, open the Command Prompt app. You can use the keyboard shortcut Windows + r to launch the Run window, then enter cmd to open the command prompt:

The Windows Command Prompt
The Windows Command Prompt

Type in the following command and hit Enter:

ipconfig /flushdns

Windows will now clear and reset your DNS cache files. When it’s ready, you should see a message that says, “Successfully flushed the DNS resolver cache”.

If you have a macOS device, you’ll need to enter the following command in the terminal:

dscacheutil -flushcache

If you use Linux, flush the DNS cache with nscd by entering the following command line in the init.d subdirectory:

sudo /etc/init.d/nscd restart

To flush the DNS cache with systemd, enter this command line:

systemd-resolve --flush-caches

Then, enter the following command to make sure it’s worked:

systemd-resolve --statistics

Now, try accessing the website again. If you’re still unsuccessful, you can move on to the next step.

5. Check Your Hosts File

Your computer has a local hosts file that can manually map domain names to IP addresses.

If that file contains an outdated or incorrect entry for the site you’re trying to reach, it will override DNS completely, and no amount of cache flushing will fix it.

On Windows, the file lives at: C:\Windows\System32\drivers\etc\hosts

On macOS and Linux: /etc/hosts

Open it with a text editor. If you see a line that references the domain you’re having trouble with, comment it out by adding a # at the start of the line, then save the file and try again.

If you didn’t put anything in there yourself, it may have been added by a security tool or VPN client.

6. Check the Browser Settings

If you’re still unable to access the website, the problem may be rooted in your browser. For example, Google Chrome has its own DNS cache, so you’ll need to clear it as well.

To do this, open Google Chrome and enter the following line into the address bar:

chrome://net-internals/#dns

This will produce the following screen:

Clearing the DNS cache in Google
Clearing the DNS cache in Google

Now, simply click on the Clear host cache button.

We also recommend checking the page preloading setting in Google Chrome. When enabled, this feature will preload the contents of websites you’ve visited in the past, including the DNS data, so they render more quickly. This means it might be storing outdated information, so you’ll need to disable it.

In your Google Chrome window, click on the three dots at the top-right corner and select Settings. Then, navigate to Privacy and security:

Privacy and Security settings in Google Chrome
Google Chrome privacy and security settings

Next, select Cookies and other side data. Locate the Preload pages for faster browsing and searching setting, and switch it off:

Switching off the preload pages setting in Google Chrome
Switching off the preload pages setting in Google Chrome

While you’re here, you might also want to clear your browser cache. To do this, return to the Privacy and security page and select Clear browsing data.

In the popup window, set the time range to All time, ensure all the boxes are checked and hit Clear data:

Popup box for clearing browsing data in Google Chrome
Clearing the browsing data in Google Chrome

If you use a different browser, we have you covered. We’ve put together a guide that shows you how to clear the cache in all major browsers!

7. Disable Your VPN or Proxy

VPNs and proxy servers route your traffic through their own DNS resolvers. If that resolver is slow, misconfigured, or blocking the domain, you’ll get this error even though your regular internet connection is fine.

Test it: turn off your VPN temporarily and try loading the site again. If it works, the issue is with your VPN’s DNS settings. Most VPN providers have a “use local DNS” option worth checking.

8. Reset Your Firewall Settings

If you’re still getting an ERR_NAME_NOT_RESOLVED error after clearing your DNS and cache, it’s time to try resetting your firewall settings. If you use a security program, it might be identifying a false threat on the site and blocking access to it.

In Windows, open the Settings app and select Privacy & Security. Then, click on Windows Security:

Windows privacy and security page
Windows privacy and security page

On the next page, select Firewall & network protection:

The Windows Security screen
The Windows Security screen

Then, click on the Restore firewalls to default option at the bottom of the page:

The Firewall & network protection page in Windows
The Firewall & network protection page in Windows.

Finally, click on the Restore defaults button:

The Restore default settings page in Windows
Restore default settings in windows

Now, try accessing the site. If you’re still unsuccessful, proceed to the next step in this troubleshooting guide.

9. Configure the DNS Server on Your Computer

The DNS server may not be working correctly, resulting in the ERR_NAME_NOT_RESOLVED error. To troubleshoot this issue, you’ll need to use a DNS server address from Google’s public servers.

In Windows, open the Control Panel and navigate to Network and Sharing Centre:

Network and Sharing Centre option in Control Panel
Choose the Network and Sharing Centre option

On the next page, select Change adapter settings:

Change adapter settings
Change adapter settings

Then, find your current network, right-click on it, and select Properties:

The Properties window for the Wifi connection
The Properties window for the Wifi connection

In the Properties window, double-click on Internet Protocol Version 4 (TCP/IPv4) or Internet Protocol Version 6 (TCP/IPv6). In the next popup window, select Use the following DNS server addresses and enter the information for Google’s servers:

Changing the DNS server addresses in Windows
Changing the DNS server addresses in Windows

There are the IP addresses of the Google DNS servers:

  • For IPv4: 8.8.8.8 and/or 8.8.4.4.
  • For IPv6: 2001:4860:4860::8888 and/or 2001:4860:4860::8844.

If you’re using macOS, open System Preferences and select Network. Then, click on Advanced and open the DNS tab.

Click on the + button to add a new DNS server, and enter the addresses of Google’s public DNS servers. When you’re ready, select OK and Apply.

10. Update or Reinstall Your Browser

An outdated browser can occasionally fail to handle DNS resolution correctly, especially after a system update or a conflict with an extension. Check if a browser update is pending under Settings > Help > About, install it, and restart.

If you’re already on the latest version, try accessing the site in a private/incognito window. If it loads there, a browser extension is likely the culprit. Disable extensions one at a time to find it.

11. Disable DNSSEC for Your Domain

If none of the methods we’ve covered above have resolved the issue, there might be a problem with the site’s DNS records. If the website you’re trying to access is not yours, there isn’t anything you could do.

However, if the website is yours, you can try disabling the DNSSEC for your domain. This is a security extension that protects your DNS records from unauthorized access.

However, if you’ve recently switched to a new web host, the DNSSEC might be preventing the domain from propagating properly.

To check if DNSSEC is enabled for your domain, you can run a WHOIS search:

Whois search
Whois

Simply enter your domain, then look for the DNSSEC field:

DNSSEC record
DNSSEC record

If it says “signed”, then you’ll need to disable it. You should be able to do this from your domain registrar account or your hosting dashboard (if you purchased your domain through your host).

If you’re a Kinsta client, you can access your DNS records from your MyKinsta dashboard. Select the DNS tab, followed by your domain name:

DNS Management page in MyKinsta
DNS Management page in MyKinsta.

In the DNS records section, check to see if there’s a DNSSEC record. Then, go ahead and delete it:

DNS records in Kinsta
DNS records in Kinsta

If you’re unable to access or edit your DNS records, we recommend contacting your hosting provider for assistance.

How To Fix “ERR_NAME_NOT_RESOLVED” on Android

You may also wonder how to resolve the “ERR_NAME_NOT_RESOLVED” error on an Android device.

First, try turning off the preloading pages setting in Chrome, as shown above. Simply click on the three dots in the top-right corner of the screen, select Settings, and follow the instructions outlined in method 6.

If you have an antivirus app on your Android device, you might want to disable it and try accessing the site again. Alternatively, reboot your phone in safe mode. If the error doesn’t appear in this mode, it might have been caused by a recently installed app on your device.

Finally, you could try restoring the Chrome App to the factory version. To do this, navigate to Settings > Apps on your phone. Then, look for the Chrome app, open it, and click on the Disable button.

This will ask you to confirm your selection. Click on Disable app and wait for the process to complete. Then, try reaccessing the site.

Is Your Hosting Part of the Problem?

Sometimes this error isn’t coming from your computer at all. If visitors are consistently hitting ERR_NAME_NOT_RESOLVED on your site, and clearing caches doesn’t help, the issue may be upstream.

A few things worth checking:

  • Your DNS records are pointed to the wrong server (common after a migration).
  • Your nameservers haven’t fully propagated yet.
  • Your hosting provider is having infrastructure issues.
  • DNSSEC is enabled but misconfigured after a host switch.

Kinsta customers can check DNS records and propagation status directly from the MyKinsta dashboard, without needing to dig through a registrar’s control panel.

If something’s wrong at the infrastructure level, our support team is available 24/7 and can quickly identify infrastructure-level DNS issues.

Hosting-related DNS problems are also more common on overloaded shared hosting environments, where you’re sharing infrastructure with hundreds of other sites and have limited visibility into what’s actually going wrong.

Managed hosting with dedicated resources and a proper DNS setup removes a whole category of this kind of headache.

If you’re running into this error regularly on a WordPress site and suspect the host is involved, it might be worth exploring what a move to Kinsta looks like. Free migrations, no downtime, and our team handles the DNS transition.

What are some other common DNS errors?

ERR_NAME_NOT_RESOLVED is just one of several DNS errors you can encounter. Other common issues include:

These DNS problems typically have similar troubleshooting methods. In most cases, you’ll want to start by clearing your browser cache and flushing the DNS cache on your computer.

If the problem is on the server side, consider contacting your hosting provider for help. Provide as much information as you can, and your host should be able to assist you.

Summary

The ERR_NAME_NOT_RESOLVED error occurs when the DNS cannot find a site’s IP address. It is typically caused by outdated data in the cache, a sensitive firewall, or a configuration problem with the DNS server on your computer.

You can try to resolve the issue by testing your internet connection, clearing the DNS cache on your computer, and checking the browser settings. It’s also worth clearing the browser cache and resetting your firewall settings. If the problem is on the server side, consider contacting your host for assistance.

At Kinsta, we offer 24/7 expert support to help you fix WordPress errors and other configuration issues. Get in touch with us today!

Jeremy Holcombe Kinsta

Senior Editor at Kinsta, WordPress Web Developer, and Content Writer. Outside of all things WordPress, I enjoy the beach, golf, and movies. I also have tall people problems.