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