How to Fix ERR_NAME_NOT_RESOLVED in WordPress (Step by Step)

Are you seeing the ‘ERR_NAME_NOT_RESOLVED’ error in WordPress?

You may see this error message when you try to navigate to a website, but it doesn’t load. This happens when the IP address for the domain name you typed can’t be found.

In this article, we will show you how to easily troubleshoot and fix the ‘ERR_NAME_NOT_RESOLVED’ error in WordPress.

How to Fix ERR_NAME_NOT_RESOLVED in WordPress

What Causes the ‘ERR_NAME_NOT_RESOLVED’ Error in WordPress?

The internet uses a domain name system, or DNS, to make it easier to navigate around the internet. While every website is identified by a unique set of numbers called an IP address, DNS lets you simply type in a domain name that’s easier to remember.

The IP address associated with that domain name will be automatically looked up (or resolved) on a DNS server, and then you will be taken to that address to view the website.

For example, when you type in the domain name wpbeginner.com, a DNS server identifies that the required IP address is 104.18.10.41, and then you are automatically taken to that location to view our website.

The ‘ERR_NAME_NOT_RESOLVED’ error is displayed when something goes wrong with that process and an IP address can’t be found for the domain name you typed.

The ERR_NAME_NOT_RESOLVED Error Message

Without an IP address, your browser won’t be able to find or display the website. If it is your own WordPress website, then you will be unable to add new content, install security updates, and make other important changes.

Depending on the exact situation and the web browser you are using, you may see a similar error message such as:

A number of issues can cause these error messages, so you will need to troubleshoot the error to fix it. While there may be a problem with the website, this error message is often caused by incorrect settings on your own computer.

Luckily, the error message might suggest a few things you can try, such as checking your internet connection and firewall and DNS configuration.

With that being said, let’s take a look at how to fix ‘ERR_NAME_NOT_RESOLVED’ in WordPress. We recommend starting with the first troubleshooting step since it’s the easiest and then working your way through our guide:

1. Check Your Internet Connection

This error is often caused by a problem on your own computer. So, let’s start with the simplest fix and make sure that you are actually connected to the internet. You might like to visit Google.com and perform a search to make sure your connection is working.

If you can’t access Google or other websites, then the problem is with your internet connection, not the website you are trying to access.

You should make sure that the cables are plugged into your modem and router correctly. You should also try restarting your internet connection by disconnecting your modem and router from the power supply and turning them back on after at least one minute.

If you still see the same error message when trying to visit the website, then you can move on to the next step.

2. Clear Your Browser Cache

Your web browser keeps a temporary copy of everything it downloads to save time when it needs to reaccess those files. This is your browser cache.

The cache can become outdated if the website content has changed after you first accessed it. It can also become corrupted over time. When this happens, you will need to clear the browser cache so that the files are downloaded from the website again.

This can sometimes resolve DNS-related issues, such as the error message you are seeing.

Thankfully, it’s easy to clear the browser cache. For example, in Google Chrome, you simply click on the three-dotted icon in the upper-right corner. Now you can click on ‘More Tools’ and then ‘Clear Browsing Data….’

How to clear the browser cache in Google Chrome

You will need to check the box next to ‘Cached images and files’ on the popup window. Google Chrome will clear the entire cache by default.

With that in mind, you might like to open the ‘Time Range’ dropdown so that it deletes the cached data only from the time period you’ve been seeing the error message.

Fixing the site can't be reached error in WordPress

Make sure you only check the boxes for the data you want to delete. For example, it’s a good idea to delete cookies and other site data, but if you want to keep your browsing history, then you will need to uncheck that box.

When you are ready, click on ‘Clear data’, and Google Chrome will empty the browser cache.

Emptying the Chrome cache

If you are using a different browser, then please see our beginner’s guide on how to clear the browser cache in any browser.

Now, you can try revisiting the website to see if you are still seeing the error message.

3. Clear Your DNS Cache

Besides caching the content of the websites you visit, your computer also stores their IP addresses. This saves time since the browser doesn’t have to look up the same IP address multiple times.

However, the cached DNS information can get outdated, leading to error messages. For example, the cached IP data may be incorrect if the site has moved to a new domain name or moved to a new hosting provider.

You can clear your DNS cache to force your browser to look up the correct IP address for that domain name again.

To help you out, we’ve created a complete guide on how to clear your DNS cache for Mac, Windows, and Google Chrome.

4. Temporarily Disable Your Firewall and Antivirus Software

Antivirus and firewall plugins try to keep you safe by blocking suspicious sites. But unfortunately, they can also sometimes block websites that are trustworthy.

This can happen if your security plugin settings are too strict or the website is set up in a way that triggers the security settings.

You can test whether a firewall or antivirus program is blocking the connection by temporarily disabling the software. If the website now loads without a problem, then you know that the antivirus program or firewall was to blame.

If they are the cause of the problem, then we don’t recommend disabling the software permanently. Instead, you may be able to whitelist the website in the software’s settings so that you can access it while being protected from genuine threats.

If you need help finding these settings, then you can check the software’s official documentation, forums, and social media pages for more information.

Depending on your software license, you may also be able to ask for support by contacting the developer or their customer support team.

5. Change the DNS Server Used by Your Computer

There may be a problem with the DNS server you are using to get the website’s IP address. Many DNS servers are available, and your internet service provider (ISP) assigns one automatically. Sometimes, the server can be unavailable or have the wrong information.

You can switch to a different public DNS server, such as Google Public DNS. You should choose carefully because the DNS provider will be able to see all the websites you visit and may collect your personal information.

Changing Your DNS Server on Mac

Once you’ve decided on a DNS server, you need to add it to your settings. On Mac, you should select the ‘Apple’ icon in the toolbar and click on ‘System Preferences…’

The macOS System preferences...

Next, you should select ‘Network’ from the popup and then click on the ‘Advanced…’ button.

Now, you can open the ‘DNS’ tab.

Fixing the site can't be reached error by changing the DNS server

In the bottom-left corner, you need to click the ‘+’ button.

This adds a new DNS server with a default IP address of 0.0.0.0.

Switching the DNS server settings

Now, you can go ahead and type in the IP address of the public server you want to use. For example, the IP addresses for Google’s public DNS are 8.8.8.8 and 8.8.4.4.

After that, make sure you click on the ‘OK’ button to save your changes.

Switching to a public DNS server to fix the site can't be reached error

This will take you back to the previous popup.

To start using your new DNS server, simply click on the ‘Apply’ button.

How to switch to a different DNS server

Now, you are ready to visit the website to see whether this has removed the error message.

Changing Your DNS Server on Windows

If you have a Windows computer, then you need to go to the Windows Search Box from the taskbar and type in ‘ncpa.cpl’ to go to the Network Connections page.

Go to ncpa.cpl for network connections

Once there, you should right-click the internet connection you are currently using.

Next, select the ‘Properties’ option from the drop-down menu. You may be asked to provide an administrator password. If you don’t know the password, then you will need to contact your IT department or computer admin.

Select the Properties option after right clicking

Now, you should see the ‘Properties’ window.

You need to double-click the ‘Internet Protocol Version 4 (TCP/IPv4)’ option from the list.

Double click the Internet Protocol Version option

This will open up a new window where you need to enable two settings by checking their boxes. These settings are ‘Obtain an IP address automatically’ and ‘Use the following DNS server addresses’.

Now, you can type in the DNS addresses for your public DNS server. The IP addresses for Google’s public DNS are 8.8.8.8 and 8.8.4.4.

Type your preferred DNS

Don’t forget to click the ‘OK’ button at the bottom to store your changes.

Now, you can restart your computer and visit your site to see if the error is resolved.

6. Disable DNSSEC for Your Website Domain

Sometimes, the ‘ERR_NAME_NOT_RESOLVED’ error is caused by problems with the website itself. If your WordPress blog is giving this error, then there are a few things you can try to fix it.

For example, if you have enabled DNSSEC, then it may help to disable it.

DNSSEC stands for Domain Name System Security Extensions. It provides an extra layer of security by protecting your DNS records from unauthorized users.

However, it can also prevent the domain from propagating properly, and this can trigger the ‘ERR_NAME_NOT_RESOLVED’ error.

You can disable DNSSEC from your web hosting account. The way you do this varies depending on your hosting provider, so we will show you how to do it using Bluehost.

In Bluehost, you’ll find the DNSSEC option in the Advanced Tools section under Domains. Simply toggle the ‘DNSSEC’ option to the off position.

Disabling DNSSEC on Bluehost

If you need help disabling DNSSEC, then reach out to your hosting company for support.

And if you are still seeing the ‘ERR_NAME_NOT_RESOLVED’ error after disabling DNSSEC and completing all of the troubleshooting steps in this guide, then it’s time to contact your hosting company’s support team for some expert help.

7. Contact Your WordPress Hosting Provider

If you still can’t access the website after following the steps above, then the website may be temporarily down or experiencing server issues.

If the site belongs to someone else, then there’s nothing else you can do but wait for it to become accessible again.

However, if you are encountering the ‘ERR_NAME_NOT_RESOLVED’ when trying to access your own website, then you should contact your hosting provider for support.

They will be able to help you if there is a technical problem, incorrect settings, an unpaid bill, or some other issue responsible for your website being inaccessible.

Now that you know how to troubleshoot and fix the ERR_NAME_NOT_RESOLVED message in WordPress, you may like to see some other guides related to domain names and DNS:

We hope this tutorial helped you learn how to fix ERR_NAME_NOT_RESOLVED in WordPress. You may also want to see our complete guide to troubleshooting WordPress or our guide to the most common WordPress errors and how to fix them.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Fix ERR_NAME_NOT_RESOLVED in WordPress (Step by Step) first appeared on WPBeginner.

How to Easily Fix the DNS_PROBE_FINISHED_NXDOMAIN Error

Recently, one of our readers asked what they could do to fix the DNS_PROBE-FINISHED_NXDOMAIN problem?

This error message appears in Chrome when your browser can’t connect to the website you’ve requested. Other browsers use different messages to display this error.

In this article, we’ll show you how to easily fix the DNS_PROBE_FINISHED_NXDOMAIN error, and how to avoid it in the future.

Fixing the DNS_PROBE_FINISHED_NXDOMAIN error

What Is the DNS_PROBE_FINISHED_NXDOMAIN Error?

The DNS_PROBE_FINISHED_NXDOMAIN error is a Google Chrome error message which appears when the browser is unable to find the website you are trying to access.

An example of the DNS_PROBE_FINISHED_NXDOMAIN error in Google Chrome

This error appears when the DNS (Domain Name System) cannot find or connect to the IP address for that website.

Your browser then assumes that the website domain name doesn’t exist. The NXDOMAIN part of the error stands for ‘non-existent domain.’

To understand more, please take a look at our guide on how domain name / DNS work (visual explanation).

The error looks different in other browsers. For instance, here’s how it looks in Firefox:

An example of the DNS_PROBE_FINISHED_NXDOMAIN error in Firefox

If you’re seeing this error when you try to access your own WordPress site, you may think there’s a problem with your site.

The good news is that your site is likely working fine. The problem is that your computer isn’t able to connect to it.

With that said, let’s see how to troubleshoot and fix this error.

How to Fix the DNS_PROBE_FINISHED_NXDOMAIN Error?

There are several ways to fix the DNS_PROBE_FINISHED_NXDOMAIN error. However, it’s important to first check that it really is an error.

Before doing anything else, you should check that you typed the domain name correctly.

For instance, if you accidentally typed incorrect spelling for a domain name, then your browser may not be able to find that domain and give this error.

Even if you clicked on a link, you should still check that the domain name is correct. It could have been mistyped by whoever created the link.

If you’re certain that the domain name is correct, then click the ‘Reload’ or ‘Try again’ button.

Clicking the button to reload the website

Next, you should try accessing the website from a mobile phone (4G network), so you can see whether the issue is with your device or WIFI connection.

If the website doesn’t load on your mobile phone either, then you need to immediately contact your WordPress hosting provider because this means that your website is down.

However if the website loads just fine on your mobile phone, then you know the issue is either with your computer or your WiFi connection.

Let’s try solving that.

The first thing you should try is restarting your computer. If that doesn’t help, turn your internet modem off and on. These steps may automatically clear DNS and network-related issues.

If the error is still appearing, then you may need to try the following methods. We recommend starting with the first one and working through them.

Clear Your Browser’s Cache

To clear your cache in Chrome, go to the page chrome://settings/clearBrowserData in your browser. This should give you a popup window where you are able to clear your cache.

First, set the time range to ‘All time’ then check just the ‘Cached images and files’ box. Next, click the ‘Clear data’ button.

Clearing cached images and files in Chrome

If you aren’t using Chrome, check out our article on clearing your browser cache for instructions for all major browsers.

Now, try the website again. If it still shows the error message DNS_PROBE_FINISHED_NXDOMAIN, simply try the next solution.

Turn Off Experimental Chrome Features

If you’ve enabled any of Chrome’s experimental features, then these could be causing the DNS_PROBE_FINISHED_NXDOMAIN error.

To turn these off, go to chrome://flags/ in your browser then click the ‘Reset all’ button at the top.

Resetting all experiments in Chrome

If the website you want to access still shows the error, try the next solution.

Flush Your Computer’s DNS Cache

Your computer often saves (caches) the IP addresses of websites that you’ve previously visited. If the website’s IP has changed, then that can cause the DNS_PROBE_FINISHED_NXDOMAIN error.

Here’s how to flush your DNS cache.

Note: These instructions are for Windows 10. For macOS instructions, check out our guide on clearing your DNS cache.

First, search for the Command Prompt app. Go ahead and open it up.

Tip: If you’re not logged in as an administrator, use the ‘Run as administrator’ option.

Opening the Command Prompt app

Next, type ipconfig/flushdns then press Enter on your keyboard. You should then see a success message.

Typing the command into the Command Prompt window to flush the DNS cache

Now, try accessing the website again. If the error message DNS_PROBE_FINISHED_NXDOMAIN still appears, try the next solution.

Release and Renew Your IP Address

The next step is to renew your computer’s IP address on the internet.

Go ahead and open up the Command Prompt app, as shown in the previous step. Next, enter the following commands in this order. Press Enter after each one.

ipconfig /release

ipconfig /flushdns

ipconfig /renew

You will see quite a few lines of information after entering the first and third commands. This is normal.

Renewing your computer's IP address

If the DNS_PROBE_FINISHED_NXDOMAIN error still appears after this, try the next solution.

Use Google’s Public DNS Servers

By default, your computer uses the DNS server from your internet service provider (ISP). You can change this to use Google’s public DNS server instead.

On Windows, open your Control Panel then go to Network and Internet » Network and Sharing Center. Then, click the ‘Change adapter settings’ link on the left hand side.

Clicking the Change adaptor settings link

You will see a list of connections. Right-click on your current connection and select the Properties option.

Click on the Properties for your active internet connection

Next, click on the Internet Protocol Version 4 (TCP/IPv4) and then click the Properties button.

Selecting the Internet Protocol Version 4 (TCP/IPv4) option

After that, you need to click the ‘Use the following DNS server addresses’ option and enter these DNS servers:

Preferred DNS server: 8.8.8.8
Alternative DNS server: 8.8.4.4

Then, click the OK button to save your changes.

Using the details for Google's public DNS servers

Try the website again to see if the DNS_PROBE_FINISHED_NXDOMAIN error is fixed. If not, try the final method.

Check Your Computer’s ‘hosts’ File

The hosts file is a file that your computer uses to map domain names to IP addresses. If the website is incorrectly recorded in this file, that can be the cause of the DNS_PROBE_FINISHED_NXDOMAIN issue.

On Windows, you can find this file through File Explorer. First, open File Explorer, then find the Windows folder on your computer. It’s normally in the C:\ drive. Mac users can find the file under /private/etc/hosts/ folder.

Next, go to System32 » drivers » etc. Here, you need to locate the hosts file and double click on it to open it. If you’re prompted to choose an app, use Notepad.

Finding the 'hosts' file on your computer

Now, check to see if the website’s address is in the hosts file. If it is, delete it along with the IP address next to it. Then, save the file.

Checking the contents of the 'hosts' file on your computer

After doing this, the DNS_PROBE_FINISHED_NXDOMAIN error should hopefully no longer appear for that site.

We hope this article helped you learn how to fix the DNS_PROBE_FINISHED_NXDOMAIN error. You might also like our article on the most common WordPress errors and how to fix them.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Easily Fix the DNS_PROBE_FINISHED_NXDOMAIN Error appeared first on WPBeginner.

How to Install and Configure Apache2

In this article, we will see how to install and configure Apache2 web server in Ubuntu 16.04.

Note: Throughout this article, we will be referring to domain name as website1-example.com. Replace this domain name with your actual domain name whenever required.

What Is Server Name Indication and How Does it Work?


SNI  or server name indication is an addition or an extension to the TLS protocol, which again stands for transport layer security. So, basically server name indication allows the client to indicate the host where it wants to terminate the encrypted session. 

 It allows a server to present multiple certificates on the same IP address and TCP port number and hence allows multiple secure (https) websites to be served by the same IP address without requiring all those sites to use the same certificate.