How to flush your DNS cache
Your computer remembers DNS answers for a while. After a DNS change, flushing this cache makes it look up the new answer.
Windows
Open Command Prompt and run:
ipconfig /flushdns
macOS
Open Terminal and run:
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
Linux (systemd-resolved, e.g. Ubuntu)
sudo resolvectl flush-caches
Browsers
Browsers have their own cache too. Close and reopen the browser, or in Chrome visit chrome://net-internals/#dns and click Clear host cache.
Your router and internet provider also cache DNS, which you can't clear; these expire on their own.
Related Articles
How to check DNS propagation for your domain
DNS propagation checks confirm that your domain’s DNS records have updated correctly and are resolving across global DNS servers. You need to verify propagation after pointing your domain to a new server, changing mail routing or configuring ...
How to edit your hosts file
Your hosts file lets your computer use a specific IP address for a domain, ignoring public DNS. It's useful for testing a site on our server before changing your nameservers. Add a line like this (using your server's IP, shown in cPanel's General ...
How to clear LiteSpeed Cache in WordPress
If changes you've made to your site aren't showing, clear the cache. Clear everything In the WordPress admin bar at the top, hover over the LiteSpeed Cache icon and click Purge All. The same button is on the LiteSpeed Cache › Dashboard page. Clear ...
How to manage DNS records in cPanel
If your domain uses our nameservers (ns0.thundercloud.uk and ns1.thundercloud.uk), its DNS records are managed in cPanel's Zone Editor. Open the Zone Editor Log in to cPanel. In the Domains section, click Zone Editor. Find your domain in the list. ...
How to preview your website before changing DNS
When moving a site to us, it's good to check it works before switching the domain over. There are two ways. Option 1: Edit your hosts file (most accurate) Point the domain at our server on your computer only. See How to edit your hosts file. This is ...