Clear your local DNS cache
For Windows:
-
Open the Command Prompt as an administrator. To do this, search for "cmd" in the Start menu, right-click on Command Prompt, and select Run as administrator.
-
In the Command Prompt window, type ipconfig /flushdns and press Enter.
You should see a confirmation message: "Successfully flushed the DNS Resolver Cache."
-
Restart your machine.
For macOS:
-
Open Terminal. To do this, go to Applications > Utilities > Terminal or search for "Terminal" in Spotlight.
-
The command to clear the DNS cache varies slightly depending on your macOS version. Try one of the following:
-
For macOS Big Sur and later:
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder -
For macOS Catalina and earlier:
sudo killall -HUP mDNSResponder
-
-
You'll be prompted to enter your administrator password. Enter it and press Enter.