Thursday, December 3, 2020

How to Easily Change Domain Nameservers (and Point to a New Host)

Do you need to change nameservers and point your domain to a new WordPress hosting provider?

Nameservers tell the global domain name system where to look for a particular website. This may sound a bit technical, but changing nameservers is actually a fairly straightforward process.

In this article, we’ll show you how to easily change domain nameservers and point to a different host or firewall, step by step.

Changing your nameservers and pointing your domain to a new host

What Are Nameservers?

Nameservers are part of the global database of domain name system. Their job is to tell other computers where to find a domain name.

If your web hosting account is the house where your website files live, then the domain name is the street address of that house.

Nameservers tell the internet where to locate the website address associated with a domain name.

How domain names work

When you enter a domain name in your web browser, it first sends a request to a global network of servers that form the Domain Name System (DNS).

These servers then search for the respective nameservers associated with the domain and forward the request accordingly.

For example, if your website is hosted on Bluehost, then its nameserver information will be like this:

ns1.bluehost.com
ns2.bluehost.com

These name servers are computers managed by your website hosting service provider. Your hosting company will forward the user’s request to the computer, also known as server, where your website is stored.

Why and When Do You Need to Change Domain Nameservers?

There are two primary reasons why you would need to change your nameservers:

  1. You’re switching your web hosting providers
  2. You’re adding a web application firewall like Sucuri or Cloudflare to protect your website

When you move your website to a new hosting company, you will need to change the nameserver information for your domain name, so that it points to the new hosting location.

This is extremely important because often your old hosting company will delete your files after your plan expires. If you don’t change the nameserver, then your users will not be able to find your website.

When you’re implementing a web application firewall (WAF), the WordPress WAF plugins will ask you to point your nameserver to them.

This is a required step for all web application firewall like Sucuri or Cloudflare because it helps them protect your website server from attacks by blocking it at the DNS level.

Aside from these two common reasons, you will rarely ever have to change your nameservers. Although, you may need to add DNS records such as changing MX records for your professional email address, etc.

That being said, let’s take a look at how to easily change your domain’s nameservers and point them to your new host.

How to Change Your Domain’s Nameservers

Changing your nameserver is quite simple and easy. The process may look a little different to you depending on your domain name registrar, but the basic steps are the same.

We will cover the instructions for changing your nameservers on several popular domain registrars and web hosting companies. You can use the quick links to jump to the section for your host.

Before editing your nameservers, you need to know the new nameserver records to use. Your new web host should be able to tell you this.

Nameservers will usually look like ns1.bluehost.com and ns2.bluehost.com. Some web hosts use IP addresses instead.

Tip: It can take a few hours for nameserver changes to take effect. Please be patient, if your website isn’t showing up at your domain right away.

Changing Your Nameservers with Domain.com

Domain.com is one of the most popular domain registrar. It’s easy to register a domain with Domain.com and host it elsewhere.

Bonus: If you need to register a new domain name, then you can use our exclusive Domain.com coupon to get a 25% discount.

To change your nameservers, you first need to log in to your Domain.com account. After that, you must click the ‘DNS & Nameservers’ link in the left hand sidebar.

Viewing the DNS details for your Domain.com domain

This will take you to a page where you can see your DNS records.

Before you start, make sure the correct domain is selected at the top of the screen in the breadcrumb navigation.

Make sure the correct domain name is selected

Once you have verified the domain is correct, simply scroll down until you reach the NS records. There should be 2 of these, ns1.domain.com and ns2.domain.com.

First, click the 3 vertical dots next to ns1.domain.com then select Edit.

The nameservers in the list of DNS settings at Domain.com

You will see a popup where you need to edit the nameserver record. Simply type the new nameserver in the ‘Content’ box then click the ‘Update DNS’ button. Here, we’re using Bluehost’s nameservers:

Updating the nameservers for your site using Domain.com

Repeat the same process for the ns2.domain.com nameserver record too.

You will see your updated nameservers in the list.

Our updated nameservers displaying in the Domain.com DNS settings list

That’s all you need to do to point your website domain to your new host.

Changing Your Nameservers with Bluehost

Bluehost is a popular WordPress web hosting company. They are also a domain registrar. If you have a domain registered at Bluehost, it’s easy to change your nameservers.

First, you need to log in to your Bluehost account. Next, click the Domains tab on the left-hand side. You should see your website domain(s) in a list. Simply click the dropdown next to your domain then select DNS.

Managing the DNS settings for your domain in Bluehost

You will now see the DNS details for your domain in Bluehost. Go ahead and click the Edit button next to these.

Editing your nameservers with Bluehost

Now, you need to click the ‘Custom’ option and enter the nameservers for your new web host. Next, click the Save button.

Using custom nameservers for your Bluehost domain

You will then see the updated nameservers in the list:

The updated nameserver details listed in Bluehost

That’s all you need to do. Your website domain is now pointing to your new web host.

Congratulations, you have successfully changed name servers on Bluehost.

Changing Your Nameservers with SiteGround

SiteGround is a well-known premium WordPress hosting company. We use them to host WPBeginner website.

They also offer domain name registration as part of their web hosting platform.

To change your nameservers in SiteGround, you first need to log in to your SiteGround account.

Next, click go to the Services » Domains page and click the ‘Manage nameservers’ link for your chosen domain.

Clicking the Manage Nameservers link for your chosen domain

In the popup window, simply delete the existing SiteGround nameservers and enter the new ones you want to use. Optionally, you can add a third and fourth nameserver.

Once you’re ready, go ahead and click the Confirm button.

Editing your nameserver records and saving your changes

Your new nameservers will now display next to your domain name.

Bonus: Want to host your website on SiteGround just like WPBeginner? They’re offering our users 63% off their web hosting with our exclusive SiteGround coupon. Discount is auto-applied when you click our Coupon link.

Congratulations, you’ve now changed your domain name servers on SiteGround.

Changing Your Nameservers with HostGator

HostGator is another popular web hosting company and domain registrar.

To change your nameservers on HostGator, you need to log in to your HostGator account.

Next, you need to click the Domains tab, and then click the name of your chosen domain to see further details.

The Domains tab in your HostGator account

You will now see an expanded details section below your domain name. Here, you just need to click on the ‘Change’ link below your nameserver details.

Viewing the details for your HostGator domain name

You will now see two new boxes will appear for the nameservers. You simply need to enter your nameservers in these boxes and press the ‘Save Name Servers’ button.

Entering your new nameservers in HostGator

The boxes will then turn green to indicate that the nameserver change has been saved. If you return to the domain overview, you will see your new nameservers in the list:

Your new nameservers in the HostGator list

Congratulations, you have successfully changed name servers on HostGator.

Bonus: Want to register a free domain name on HostGator? You can use our HostGator coupon to get 62% off HostGator’s hosting, plus a free domain name and SSL certificate.

Changing Your Nameservers with GoDaddy

GoDaddy is one of the best-known hosting and domain name companies.

To change your nameservers, you first need to log in to your GoDaddy account.

You should see your domains listed on the home page. Simply click the 3 vertical dots for your chosen domain and select the ‘Manage DNS’ option.

Selecting the 'Manage DNS' option for your domain

Next, you need to click the ‘I’ll use my own nameservers’ option and enter the nameservers that you want to use. You can add more than 2 by using the ‘Add Nameserver’ button.

Entering your new nameservers in GoDaddy

Once you’re done, just click the Save button.

GoDaddy may bring up a warning prompt to confirm. Just check the box, and then go ahead and click the Continue button. Your nameservers have now been changed.

Checking the box below the warning message from GoDaddy

Bonus: You can get a huge 89.9% off GoDaddy hosting and get a free domain. For more details, check out our GoDaddy coupon page.

Congratulations, you have successfully changed name servers on GoDaddy.

Changing Your Nameservers with Namecheap

Namecheap is another top-rated domain name company that offers great value domains.

To change your nameservers, you first need to log in to your Namecheap account. Next, click the ‘Domain List’ tab and then click the Manage button next to your chosen domain.

Click the Manage link next to your domain name

After that, you need to scroll down to the Nameservers section of the page. Here, you need to click on the dropdown list and select the ‘Custom DNS’ option.

Selecting the Custom DNS option

Simply add in your nameservers here, then click the check button.

Adding your nameservers in Namecheap

Your new nameservers will now display in the list.

Your nameservers are now showing in the Namecheap list

Congratulations, you have successfully changed name servers on Namecheap.

Final Steps After Setting Up Your Domain Nameservers

Any domain nameserver changes can take a few hours to take in effect worldwide. That’s because it requires each internet service provider to clear their cache history and update the IP address to new records.

If this is your first time changing nameservers, then it’s important that you exercise patience because often the changes will not reflect right away.

If it’s been a few hours, and your nameserver changes are still not showing up, then you can try to flush your DNS cache on your computer.

We hope this article helped you learn how to change nameservers and point a domain to another host. You may also want to see our list of must have WordPress plugins for all websites, and our comparison of the best email marketing services to grow your business.

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 Change Domain Nameservers (and Point to a New Host) appeared first on WPBeginner.


December 03, 2020 at 06:00PM

Wednesday, December 2, 2020

How to Add the WordPress Logout Link to Navigation Menu?

Do you want to add a WordPress logout link to your site?

If you run a membership site, bbPress forum, eCommerce store, or a learning management system (LMS) using WordPress, having a prominent logout link is helpful for your users.

In this article, we will show you how to add the WordPress logout link to your navigation menu, as well as to other areas of your site.

Adding a logout link in WordPress navigation menu

The Logout Link for WordPress

Normally you can log out of your WordPress site by clicking on the logout link. This link is located below your profile picture in the top right corner of the WordPress admin bar.

All you have to do is take your mouse over to your username, and it will appear in the dropdown menu.

Log out link in WordPress admin bar

In case you or your site administrator have disabled the WordPress admin bar, then you will not be able to see the WordPress logout link.

The good thing is that the WordPress logout link can be directly accessed to log out of your current WordPress session.

The logout link for your WordPress site looks like this:

http://example.com/wp-login.php?action=logout

Don’t forget to replace example.com with your own domain name.

You can access this link directly in your browser window to log out of your WordPress site.

When you visit the WordPress logout link, it will take you to a warning page. You will need to click on the logout link to confirm that you really want to log out.

Logout confirmation

You can also manually add this logout link anywhere on your WordPress site. Let’s take a look at how to do that.

Video Tutorial

If you don’t like the video or need more instructions, then continue reading.

Adding the Logout Link in WordPress Navigation Menus

Adding the WordPress logout link in your site’s navigation menu will make it easily accessible from any page on your website.

Simply head over to the Appearance » Menus page in your WordPress admin. After that, you need to click on the custom links tab to expand it and add the logout link in the URL field.

Logout link in navigation menu

Once you are done, click on the ‘Add to menu’ button, and you will notice the link appear in the right column. You can adjust its position by simply dragging it up or down.

Don’t forget to click on the ‘Save Menu’ button to store your changes.

You can now visit your website to see the logout link in your navigation menu.

Logout link in the navigation menu

The problem with adding the logout link in the menu is that it is visible to all users (both logged-in and logged-out). It only makes sense to show the logout link to users who are actually logged in.

You can do that by following our instructions on how to show different menus to logged in users.

Add WordPress Logout Link in the Sidebar Widget

WordPress comes with a default widget called Meta. This widget shows a bunch of useful links including a logout or login link to users.

Meta widget in WordPress

Some people find the other links in the Meta widget are not quite as useful.

As an alternate, you can also add a plain text or custom HTML widget with the logout link in plain HTML. Here is the HTML code you’ll need to add:

<a href="http://example.com/wp-login.php?action=logout">Logout</a>

Logout HTML widget

Adding a Dynamic Login / Logout Link in WordPress

If you manually add a logout link in WordPress, then the problem is that it does not change based on the user’s login status.

To fix that, you can use a plugin to dynamically display the login or logout link based on the user’s session.

First, you’ll need to install the Login or Logout Menu Item plugin. For details, see our step-by-step guide on how to install a WordPress plugin.

After you install and activate the plugin, you’ll go to Appearance » Menus in your WordPress admin and add the Login/Logout link to your menu.

Login Logout menu WordPress plugin

After you hit ‘Save Menu’ and check your WordPress website, you’ll see the link in your menu.

Login link in menu

When you click on it, it’ll take you to a page to login, or if you’re already logged in, it will log you out.

This method also works with WooCommerce, MemberPress, and other WordPress eCommerce platforms.

We hope this article helped you find the direct WordPress logout link and add it to your navigation menu. You may also want to see our guide on how to add a call button in WordPress, and how to track link / button clicks in WordPress to make data-driven decisions.

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 Add the WordPress Logout Link to Navigation Menu? appeared first on WPBeginner.


December 02, 2020 at 05:00PM

Tuesday, December 1, 2020

13 Crucial WordPress Maintenance Tasks to Perform Regularly

Ever wondered which important maintenance tasks you should perform regularly on your WordPress site?

Routine WordPress maintenance tasks take very little time, but they ensure that your site is secure, safe, and running at peak performance.

In this article, we will share the most crucial WordPress maintenance tasks to perform regularly, and how to do each one of them.

Crucial maintenance tasks to perform on your WordPress site regularly

Why and When to Perform WordPress Maintenance Tasks

Your WordPress site is a powerful system made of several parts. This includes your WordPress hosting, the WordPress software itself, plugins, and themes.

On top of that, you add your own content with text and images. Together, all of these make a website that is loved by your visitors and customers.

After starting a blog or website, many website owners do not perform maintenance checks unless something breaks.

However, if you want optimal performance, then you need to perform simple maintenance tasks on a regular basis. These maintenance tasks ensure that your website is always in the best shape.

How often should you perform WordPress maintenance tasks?

If you run a busy website with a lot of traffic, then you should go through this maintenance checklist every three months. For smaller websites with low traffic and content, you need to do these maintenance tasks every six months.

Let’s take a look at the essential WordPress maintenance tasks you need to perform and how to do them. You can use these quick links to jump straight to each task.

  1. Change All Your WordPress Passwords
  2. Create a Complete Backup of Your Website
  3. Check and Update All WordPress Files
  4. Check and Delete Spam Comments
  5. Test All Your WordPress Forms
  6. Optimize Your WordPress Database
  7. Run Performance Tests
  8. Find and Fix 404 Errors
  9. Find and Fix Broken Links
  10. Perform a Thorough Content and SEO Audit
  11. Optimize Images on Your WordPress Site
  12. Review WordPress Security Logs
  13. Troubleshoot Maintenance Tasks

1. Change All Your WordPress Passwords

Change all your passwords regularly

Passwords are your first defense against unauthorized access to your website. You should always use strong unique passwords for all your online accounts. These include your WordPress website, FTP accounts, and database.

However, even if you are using strong passwords, they could be compromised without you even knowing.

That’s why WordPress security experts recommend changing your WordPress passwords regularly. This includes passwords for your WordPress admin area, FTP or SSH accounts, and your WordPress database password.

For more help, check out out our beginner’s guide to changing your password in WordPress.

The problem with strong passwords is that they are harder to remember. This is why we recommend using password manager apps like LastPass to securely store and easily fill passwords without having to type them.

For details, see our guide on the best ways to manage WordPress passwords.

2. Create a Complete Backup of Your Website

Create manual backup

Backups are one of the most important WordPress plugins in your arsenal.

There are plenty of great WordPress backup plugins like UpdraftPlus or BackupBuddy. These can help you completely automate the WordPress backup process.

However, sometimes your backup solution may suddenly stop working without you even noticing.

Once in a while, you need to manually run your backup plugin to create a complete backup of your website. After running the backup, check that your backup files are properly stored at the remote location of your choice (Dropbox, Google Drive, etc).

3. Check and Update All WordPress Files

Check and update all WordPress files

WordPress comes with a built-in system to manage updates for WordPress core, plugins, and themes. You should always update WordPress to use the latest version as well as keeping all your plugins and themes updated.

With that said, there are some situations when you may miss an update. For example, when a premium plugin or theme’s license expires, it may fail to check for an update.

Go to the WordPress Updates page to manually check for updates. Review all your installed plugins and themes to make sure that they are running the latest version. If they’re not, then make sure to document a reason why you’re choosing not to update.

4. Check and Delete Spam Comments

Review spam comments

Many website owners use Akismet to combat comment spam in WordPress. It automatically keeps spam away from your comment moderation queue.

However, sometimes Akismet may end up marking a legitimate comment as spam. Once in a while, you need to take a quick look at the spam comments to ensure that there are no real comments incorrectly marked as spam.

Once you are done, you can safely delete all spam comments from your website. If you have thousands of spam comments, then you should batch delete all spam comments in WordPress.

It will not necessarily improve performance, but it will ensure that you don’t miss genuine comments.

5. Test All Your WordPress Forms

Test all your WordPress forms

WordPress form builder plugins like WPForms make it super easy to create beautiful forms on your website.

However due to misconfiguration on your WordPress hosting server or your email service provider, sometimes these forms may suddenly stop sending emails.

You need to check all forms on your website to make sure that they are working properly. If a form is not working, then see our guide on fixing the WordPress not sending email issue.

As a best practice, we recommend using WP Mail SMTP plugin because it has email logging, and it will alert you when an email fails to send.

6. Optimize Your WordPress Database

Optimize your WordPress database

WordPress stores most data in your WordPress database. It contains all your content, comments, users, and settings.

Over time, your database may gather a lot of unnecessary data. This increases your WordPress backup sizes which may affect uploading, downloading, and restoring backups.

Optimizing your WordPress database allows you to clean up clutter, defragment tables, and improve database performance.

For step by step instructions, see our guide on how to optimize your WordPress database with one click.

7. Run Performance Tests

Run performance tests

Many users optimize their WordPress performance when they first start their website, and then forget about it.

As time goes by, you add new content, install new plugins, or may even change the theme. All of these items may affect the performance of your WordPress site.

Faster websites are not just good for user experience, but they also improve your SEO rankings. This is why you need to regularly do a thorough performance review of your website.

When reviewing your site’s performance, don’t just limit it to improving your homepage. Also test your most popular content and all your important pages.

For best results, follow our step by step guide to boost WordPress speed and performance.

8. Find and Fix 404 Errors

Fix 404 errors

When a user requests a page that doesn’t exist on your website, then WordPress will show them a 404 error page.

404 errors that occur because a user mistyped an address are normal and nothing to be worried about. However, 404 errors that occur because a page is no longer available are frustrating for users and create a bad user experience.

If you are not already tracking 404 error pages, then see our guide on how to easily track 404 error pages in WordPress and redirect them.

Find and fix broken links in WordPress

As your website grows, you will realize that some external websites that you linked to in your older articles do not exist anymore. Some may have moved to new locations, while others may just disappear.

The broken links issue is not just limited to external links. You might accidentally add broken images, poorly formatted links, or misspell your own links. This can be frustrating for your visitors and harms your site’s user engagement.

You need to check your website for broken links as part of your WordPress maintenance routine. For instructions, see our guide on how to find and fix broken links in WordPress.

10. Perform a Thorough Content and SEO Audit

SEO Audit

The next thing you need to include in your regular maintenance tasks is a thorough in-depth review of your content. This is where the data from Google Search Console and Google Analytics comes in.

Google Analytics shows you where your visitors are coming from and what they are doing on your website. This data allows you to discover content on your website where you have lots of traffic but your conversion rate is low.

Google Search Console’s Search Performance page can help you find search keywords where your site appears in the results. You can sort it to show you keywords where your site can easily rank higher by updating those articles.

The Queries tab in Google Search Console

If you are using All in One SEO, then you can set a particular keyword as your focus keyphrase. All in One SEO will give you a True SEO Score plus specific optimization tips.

The Focus Keyphrase score in All in One SEO

Even with an excellent SEO score, you can still further improve your content. Try adding new information, adding images, and linking to it from other pages on your website.

For more SEO tips, follow our ultimate step by step WordPress SEO guide for beginners.

Pro Tip: You can use a tool like SEMRush to run automatic website audits. This is what we use on WPBeginner.

11. Optimize Images on Your WordPress Site

Optimize images and media library

Images take longer to load than text. This means they decrease your page load speed. You will discover some overly large images during the performance checkup of your site.

However, you will likely miss those in your less popular articles. If you run a multi-author WordPress site, then some of your authors may not be as careful about image sizes as you are.

Reviewing your images and media library allows you to stay on top of the issue. You can perform this check to find images that can be reduced in size or images that are just too large.

For more information, see our guide on how to save images optimized for the Web.

12. Review WordPress Security Logs

WordPress security review

Some WordPress users don’t realize that their site is under attack until it slows down or their search rankings drop.

We have already mentioned some security precautions like changing passwords, and creating manual backups as proactive measures. You also need to review your site’s access and error logs to see if there is any unusual activity on your site.

Another good option is to add a security audit plugin to your site.

We also recommend using Sucuri. It is a website security company that offers a website firewall to protect your website against common threats.

For a complete security audit of your WordPress site, follow the instructions in our step by step ultimate WordPress security guide.

13. Troubleshoot Maintenance Tasks

Troubleshooting issues caused by maintenance tasks themselves

Most WordPress website maintenance tasks are quite harmless and will not affect your website’s normal functioning. However, some may slow down your site, like checking for broken links or running an image optimizer plugin.

If you run a staging site, then you can perform your maintenance tasks on your staging site and then push them live.

However, most WordPress users don’t run a staging site. In that case, you will have to expect a temporary slow site and some unexpected errors.

One way to deal with this is by putting your WordPress site in maintenance mode. Alternatively, you can perform these tasks during your low traffic hours.

If you run across an issue, then see our guide on how to fix common WordPress errors. If the error you are seeing is not listed there, then follow the steps in our WordPress troubleshooting guide. It will help you locate the problem and find a solution.

We hope this article helped you learn crucial WordPress maintenance tasks to perform regularly on your website. You may also want to see our tips on how to increase your blog traffic and our comparison of best WordPress page builders to create custom design layouts without any code.

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 13 Crucial WordPress Maintenance Tasks to Perform Regularly appeared first on WPBeginner.


December 01, 2020 at 05:30PM

Monday, November 30, 2020

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.


November 30, 2020 at 06:00PM