Your computer remembers (caches) the IP addresses of websites you've visited. After a DNS change, such as moving your site or changing nameservers, it can keep sending you to the old address for a while. Clearing the cache makes it look the address up again.
Windows
- Open the Start menu, type cmd, and open Command Prompt.
- Run
ipconfig /flushdns.
macOS
- Open Terminal (in Applications > Utilities).
- Run
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponderand enter your Mac password when asked.
Linux
On most current distributions, run resolvectl flush-caches (or sudo systemd-resolve --flush-caches on older ones).
Your browser
Browsers keep their own cache. Close all browser windows and reopen them, or in Chrome go to chrome://net-internals/#dns and click Clear host cache.
Related: What Is DNS? and Changing Your Domain's Nameservers.