Dec 02, 2025
Leonardus N. & Ariffud M.
7min Read
ERR_NAME_NOT_RESOLVED is a common domain name system (DNS) error that prevents your browser from accessing a website. It means your computer could not find the correct IP address corresponding to the domain name you entered.
To fix the error, follow these six proven solutions, ranging from DNS caching to DNSSEC settings:
The ERR_NAME_NOT_RESOLVED error is typically caused by one of the following issues:
If you prefer a visual guide, our Hostinger Academy video provides a complete walkthrough of the methods we’ll cover in this tutorial. You’ll get a step-by-step look at how to resolve the ERR_NAME_NOT_RESOLVED error in your browser.

The ERR_NAME_NOT_RESOLVED error has several potential causes, from simple cache issues to incorrect network settings.
To solve it, start with the quickest fixes, like flushing your DNS cache, and then move on to more technical solutions, like modifying your hosts file or disabling DNSSEC.
Follow these steps to find the root cause and get back online:
First, clear your device’s DNS cache. This action removes outdated IP address data that often causes the ERR_NAME_NOT_RESOLVED error, forcing your system to fetch the latest domain information.
A stale entry is a common source of this DNS cache error, especially if you recently migrated your domain to a new hosting provider.
The process for clearing the cache differs between Windows, macOS, and Linux. For detailed, step-by-step instructions, follow our tutorial on how to flush a DNS cache.
Once the DNS cache is clear, try visiting the website again. If the error persists, move on to the next likely source: your browser’s internal cache, which holds its own set of DNS records.
Web browsers like Google Chrome maintain their own browser DNS cache to improve load times, and this data must also be cleared regularly. Otherwise, it will use the outdated address, causing ERR_NAME_NOT_RESOLVED.
You’ll perform two actions in Chrome: clearing its host cache and disabling page preloading.
Clear the host cache
This forces Chrome to find the website’s new IP address instead of using an outdated, cached one.

Disable page preloading
Chrome’s preload feature can sometimes cause this error by using old DNS information. Disabling it ensures every connection fetches fresh data.

After completing both steps, restart Chrome and try to access the website again. If you still see the ERR_NAME_NOT_RESOLVED error, the issue is likely with your current network. Try connecting to the site using a different internet source.
If clearing the system and browser caches didn’t work, the problem might be a router DNS issue or a network configuration fault. Therefore, you must confirm if your internet connection is the source of the ERR_NAME_NOT_RESOLVED error.
The easiest way to test this is to switch to a different network.
If the website loads correctly on the mobile hotspot, your primary internet connection is the problem. Restart your router to clear its cache and reset the connection.
A router restart solves most local network glitches. If you’re still stuck on your main connection, it’s a sign that the DNS servers assigned by your internet provider are failing. The solution is to stop using them and switch to a public alternative.
If other solutions fail, ERR_NAME_NOT_RESOLVED may stem from a misconfigured firewall or an unreliable DNS server from your internet service provider (ISP). Let’s address both.
Reset your firewall
Your firewall provides essential security, but can sometimes mistakenly block connections. Resetting it to its default settings can quickly resolve the ERR_NAME_NOT_RESOLVED error.
On Windows:

On macOS:

Change your DNS server address
Your ISP’s default DNS servers can be slow or faulty. Switching to a free, public DNS provider like Google or Cloudflare is a reliable fix for many DNS-related issues, including this and DNS server not responding.
Here are some of the most popular public DNS servers:
| Provider | IPv4 address | IPv6 address |
| 8.8.8.8 and 8.8.4.4 | 2001:4860:4860::8888 and 2001:4860:4860::8844 | |
| Cloudflare | 1.1.1.1 and 1.0.0.1 | 2606:4700:4700::1111 and 2606:4700:4700::1001 |
On Windows:

On macOS:

You have now corrected caches, ruled out network hardware, and even switched DNS providers. If the error still persists, there’s one last place a faulty configuration can hide: your computer’s hosts file, which can override all other network settings.
The hosts file is a local file that can be manually edited to map domain names to specific IP addresses.
Its rules override all settings from your DNS server, so an incorrect entry can create a faulty host file redirect, causing the ERR_NAME_NOT_RESOLVED error.
This process involves two parts: finding the website’s correct IP and then checking the hosts file for incorrect entries.
Find the website’s correct IP address
First, you need to know the website’s actual IP address. You can find this using the ping command.
ping domain.tld
Check the file for errors
Next, you need to open the hosts file to check its contents. The location of this file and the commands required to edit it differ for each operating system. For detailed instructions, follow our full guide on how to edit a hosts file.
Once the file is open, look for any line containing the domain that’s giving you trouble.
104.26.10.230 domain.tld

Save the file and exit the editor. Then, flush your DNS cache one last time for the changes to take effect.
Modifying the hosts file resolves client-side misconfigurations. If this step doesn’t fix the error and you own the website in question, the problem is likely not on your computer but with the domain’s own security settings.
The final step is to investigate its DNSSEC configuration.
Finally, if you are the website owner and the error is happening on your own domain, the cause is often a Domain Name System Security Extensions (DNSSEC) issue.
DNSSEC adds a critical layer of security by authenticating DNS records, but if misconfigured, it will prevent the domain from resolving correctly.
This problem is common after transferring a domain or changing nameservers, as the cryptographic signatures may no longer match. The most effective solution is to disable DNSSEC, which lets your domain become accessible again.
If your domain is with Hostinger, you can do this directly from hPanel.

Disabling DNSSEC can take a few hours to take effect. While you are in this area of hPanel, you can manage all your domain’s records with Hostinger’s DNS Zone Editor.
Instantly check domain name availability.
The ERR_NAME_NOT_RESOLVED error is a common roadblock, but it’s almost always fixable. By systematically troubleshooting the issue, from your local computer’s cache to your domain’s server settings, you can identify the cause and get back online quickly.
Here is a recap of the six methods we covered:
If you’ve worked through all these steps and the error persists, the problem may require a more technical solution. Consider these final checks:
If ERR_NAME_NOT_RESOLVED continues even after these advanced steps, do not hesitate to contact your hosting or domain provider’s support team for expert assistance.