Often, when switching a website to a new server or making changes to DNS Zones, your computer will still have the old record cached. This can cause issues such as not being able to access your website. Flushing your DNS Cache will force your computer to fetch a new record from the domains DNS Zone, therefore getting you a new name resolution. Note that if you’re using a local DNS Server this probably won’t work as the server will also be caching records.
Flush DNS Cache in Microsoft Windows
- Click Start > Run > Type cmd
- In Command Prompt, type ipconfig /flushdns
- Restart the nscd daemon by opening Terminal and typing /etc/rc.d/init.d/nscd restart
- Open Terminal and type lookupd -flushcache
- Open Terminal and type dscacheutil -flushcache