Clear your local DNS cache

For Windows:

  1. 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.

  2. In the Command Prompt window, type ipconfig /flushdns and press Enter.

    You should see a confirmation message: "Successfully flushed the DNS Resolver Cache."

  3. Restart your machine.

For macOS:

  1. Open Terminal. To do this, go to Applications > Utilities > Terminal or search for "Terminal" in Spotlight.

  2. 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

  3. You'll be prompted to enter your administrator password. Enter it and press Enter.