How to Flush Your DNS Cache

 

Your DNS cache stores the locations (IP addresses) of pages you have recently viewed. If the location of the page changes before the entry in your DNS cache is updated, you will be unable to access the page.

If you are encountering a high number of HTML 404 error codes, you may need to flush your DNS cache. Once you clear your DNS cache, your computer will query nameservers for the new DNS information you require.

For more information about the HTML 404 error code, please visit the HTML 404 wikipedia article.

The methods detailed below allow you to remove old and inaccurate DNS information that may result in 404 errors.

Windows XP, Vista or 7:

  1. Open the Start menu.
  2. Go to Run.
    • If you do not see the Run command in Vista, search for "run" in the Search bar.
  3. In the Run text box, type: ipconfig /flushdns
  4. Press Enter or Return, and your cache will be flushed.
MacOS:

  1. Go to Applications.
  2. Go to Utilities.
  3. Open the Terminal application.
  4. Type: dnscacheutil -flushcache
  5. Press Enter or Return, and your cache will be flushed.
  6. If you receive an error saying that command is not found, please try:  lookupd -flushcache
If you continue experience difficulties, please let us know!

 

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

Setting Up a Hosts File for Your Local Computer

When DNS changes are made to your site, you may not be able to see it via your web browser right...

What is DNS Propagation?

DNS stands for Domain Name Service. Every time you go to a website or send an email using a...

DNS Health Checker Websites

There are a variety of websites out there which will examine your domain's overall DNS health and...

Configuring an Existing WordPress Installation to Work With A New Domain

  How do I configure WordPress to work with a new domain? To configure WordPress with a...

Setting Up Custom Error Pages

cPanel has a built-in custom error page builder under the "Advanced" section, called "Error Pages."