Clearing Local Level Cache


Sometimes it is necessary to clear your local cache (not the same as your browser’s cache) to clear up errors:


Press the windows key, and type “cmd”

Screen Shot 2013-11-20 at 12.18.08 PM

In the prompt, type “ipconfig /flushdns” hit enter

Screen Shot 2013-11-20 at 12.19.40 PM


Press command+spacebar on your keyboard, and type terminal, hit enter:

Screen Shot 2013-11-20 at 12.21.01 PM

Type “dscacheutil -flushcache” press enter, it may ask for your password, if it does, its asking for the admin user password:

Screen Shot 2013-11-20 at 12.42.53 PM

If that doesn’t work, try “sudo killall -HUP mDNSResponder”


There are several ways per each distribution of linux, all of the commands are run in terminal:

sudo /etc/init.d/nscd restart

nscd -I hosts

Please refer to the documentation of the distribution of your OS before running any commands.


Looking for quality web hosting? Look no further than Arvixe Web Hosting!

Tags: , , , , , , , , | Posted under Internet, Programming/Coding | RSS 2.0

2 Comments on Clearing Local Level Cache

  1. Kevin I mistakenly put my username and password on the blog message screen. How can I get it removed quickly.

    • Alex says:


      No worries. Posts don’t automatically get published so no one would have seen your comment (and I have now remove it from our back end also).

      I’ve also reached out to you via email.



Leave a Reply to Alex Cancel reply

Your email address will not be published. Required fields are marked *