Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
25 Million+
Websites using our plugins
Years of WordPress experience
WordPress tutorials
by experts

How to Fix DNS Server Not Responding Error in WordPress (5 Ways)

Editorial Note: We earn a commission from partner links on WPBeginner. Commissions do not affect our editors' opinions or evaluations. Learn more about Editorial Process.

Are you looking for the easiest way to fix the ‘DNS server not responding’ error in WordPress?

You can get the DNS not responding error on your own WordPress website or third-party sites for a large number of reasons.

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

How to fix the DNS server not responding error in WordPress

What Is the ‘DNS Server Not Responding’ Error in WordPress?

The ‘DNS server not responding’ error is one of the most common WordPress errors that users can come across.

This error prevents you from visiting your website, which makes it difficult to troubleshoot. Many beginners aren’t sure if it is just them or everyone else seeing this error.

Preview of the DNS server not responding error

The ‘DNS server not responding’ error means that your browser was unable to establish a connection with the servers that are hosting the website.

This error usually occurs when there is an unavailable DNS provider, firewall issues, network connectivity problems, or when there is an issue in your internet modem or router.

That being said, let’s take a look at multiple ways to easily troubleshoot and fix the ‘DNS server not responding’ error on your website:

1. Check Your Internet Connection

You may get the ‘DNS server not responding’ error because your internet connection has been disconnected. So, to start, you need to make sure that you are currently connected to the internet.

If your Wi-Fi is connected, but the error is still present, then you can restart your internet connection by switching your computer on and off.

Or you can simply disconnect your router from its power supply and then wait at least a minute before reconnecting it.

After that, try visiting your WordPress blog to see if the error has gone.

2. Try Switching to Another Web Browser or Incognito Mode

Sometimes, this error occurs because there is an issue in your default web browser.

You can simply try to solve the ‘DNS server not responding’ error by visiting your WordPress site using a different browser like Mozilla Firefox or Microsoft Edge.

For example, if you use Google Chrome and the browser is showing the ‘DNS server not responding’ error, then try accessing your website using Mozilla Firefox.

You could also try opening the page in a private tab, such as using Chrome’s Incognito mode. If you can access the website in the other browser, that means the problem is with your default web browser.

In that case, you can clear the browser cache to see if that fixes the issue. If that doesn’t solve the problem, then you can try reinstalling the browser.

3. Disable Your Firewall or Antivirus

Firewall and antivirus programs protect your computer from malicious software.

However, sometimes, these programs can also block trustworthy sites due to strict settings or an issue within the program itself.

To check if you are getting the ‘DNS server not responding’ error due to this software, you need to temporarily deactivate your firewall and antivirus programs.

If you are using Windows, then you can easily disable firewall and antivirus programs by selecting the ‘Settings’ app from the Start menu.

Go to Settings from the Start menu

Once it opens up, click the ‘Privacy and Security’ option from the sidebar.

From here, choose the ‘Windows Security’ option.

Go to Privacy and Security and select Windows Security

This will direct you to a new screen where you must select the ‘Virus and Threat Protection’ option from the list.

After that, toggle the switch under the ‘Microsoft Defender Firewall’ option and set it to Off.

Switch the firewall toggle off

If you are using a Mac, then simply go to System Preferences » Security and Privacy from the Apple toolbar.

This will take you to the ‘Security and Privacy’ window.

Go to System Preferences and select Privacy and Security

Here, simply click the ‘Firewall’ tab and then turn off the firewall.

You have now disabled the antivirus and firewall programs on your computer.

Turn off Firewall in Mac

After disabling the firewall, visit your webpage to see if the error has been resolved.

4. Change the DNS Server Address

Sometimes, the ‘DNS server not responding’ error happens when the DNS server assigned to you by your internet service provider is unavailable or has incorrect information.

In that case, you can solve the problem by switching to a different public DNS server, such as Cloudflare or Google Public DNS, which offers DNS addresses for free.

If you use Windows, go to the Windows Search Box from the taskbar and type ‘ncpa.cpl‘ to access the Network Connections page.

Go to ncpa.cpl for network connections

Once you are there, right-click on the internet connection that you’re currently using.

Next, simply select the ‘Properties’ option from the prompt that opens up.

At this point, you may need to provide an administrator password. If you don’t have those permissions, contact your IT department or computer admin.

Select the Properties option after right clicking

After that, you will see the ‘Properties’ window.

Here, you have to locate and double-click the ‘Internet Protocol Version 4 (TCP/IPv4)’ option from the list, which will open up a new window.

Double click the Internet Protocol Version option

Once here, simply check the ‘Obtain an IP address automatically’ box and then check the ‘Use the following DNS server addresses’ box.

After that, you need to type the DNS address you obtained from the public DNS servers and click the ‘OK’ button at the bottom.

For example, Cloudflare’s public DNS is, and Google’s public DNS is and

Type your preferred DNS

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

If you are a Mac user, simply select the Apple icon in the toolbar and click the ‘System Preferences option.

Go to System Preferences

In the popup that appears, select ‘Network’ and then click on the ‘Advanced’ button.

After that, simply open the ‘DNS’ tab. Here, you will find a ‘+’ button in the bottom-left corner.

Choose DNS option and click the + button

Clicking it will add a new DNS server with the address

Now, go ahead and type the numbers for the preferred DNS server you want to use.

For example, Cloudflare’s public DNS is, and Google’s public DNS is and

Write your DNS

After that, simply click on the ‘OK’ button, which will take you back to the previous popup.

Here, click the ‘Apply’ button to save your changes.

Apply DNS change

Now, you need to visit your site to check if the error has been removed.

5. Flush Your DNS Cache

Just like your browser, the computer also stores all the IP addresses of the websites that you visit, so it won’t have to look up the same IP address twice.

However, DNS cache information can get outdated, which can cause the ‘DNS server not responding’ error on your site.

This can happen when you have moved your site to a new domain name or when you’ve moved your site to a new WordPress host.

Flushing your DNS cache can remove the ‘DNS server not responding’ error. All you need to do is check out our guide on how to clear your DNS cache on Mac, Windows, and Google Chrome for more instructions.

Bonus: Use WPBeginner Pro Services For Site Maintenance

Once you have fixed the ‘DNS server not responding’ error, it is important to update and maintain your WordPress site regularly. This will help prevent malware and malicious code, improving user experience.

If you don’t have the time to manage your own website, then we recommend using WPBeginner Pro Services, which offers the best website maintenance service for WordPress.

WPBeginner Pro Services

We offer amazing maintenance packages at affordable prices that include uptime monitoring, cloud backups, theme and plugin updates, emergency support, and more.

We’ll monitor your site 24/7 and make regular updates as required. You will also be connected with a dedicated account manager who can assist you with any errors and issues on your site.

You can also hire experts at WPBeginner Pro Services for tasks like hacked site repair, custom website design and development, and site speed optimization.

We hope this article helped you learn how to easily fix the ‘DNS server not responding error’ in WordPress. You may also want to check out our ultimate security guide for WordPress and the best email marketing services for small businesses.

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.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

1 CommentLeave a Reply

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.