How to flush your local DNS cache

Your computer will cache the address of websites in order to load them faster.  If you move your website from one server to another, you may want to clear your cache so that you can see your webite on the new server right away, instead of waiting for the cache to refresh on it's own.

Windows Vista/Windows 7:

  • Click on Start, followed by All Programs, and then Accessories.
  • Right-click on Command Prompt and choose Run as Administrator.
  • In the Command Prompt window type in the following command and press Enter:
  • ipconfig /flushdns
  • You should now see the following confirmation message:
  • Successfully flushed the DNS Resolver Cache.

Windows XP

  • Click on Start, followed by All Programs, and then Accessories.
  • Click on Command Prompt.
  • In the Command Prompt window type in the following command:
  • ipconfig /flushdns
  • You should now see the following confirmation message:
  • Successfully flushed the DNS Resolver Cache.

Mac OS X 10.5.2 and above

  • Click on the Finder icon in your dock. Open your Applications folder.
  • Inside the Applications folder, click on Utilities and then Terminal.
  • Type the following command in the Terminal window and press Enter:
  • dscacheutil -flushcache
  • You will not receive any message from the terminal after running the command, this is normal.

Mac OS X 10.5.1 and below

  • Click on the Finder icon in your dock. Open your Applications folder.
  • Inside the Applications folder, click on Utilities and then Terminal.
  • Type the following command in the Terminal window and press Enter:
  • lookupd -flushcache
  • 0 用戶發現這個有用
這篇文章有幫助嗎?

相關文章

How do I transfer my website?

If you've grown tired of your old host and decided to make the switch to us, the first step is to...

How do I update my DNS servers?

If you're transferring your hosting account to us, you'll need to update your domain's DNS...

How long does it take to transfer an account?

Depending on the size of your account, it may take anywhere from an hour to 24 hours to...