Flush DNS cache

In some cases like domain transfer or after a migration has been completed, websites may not work. This is due to the DNS that is cached in your computer. This must be cleared by doing a flush DNS via command prompt for Windows and terminal for Mac or via Google Flush cache. Kindly follow the instructions below on how to flush DNS.

 

Flush DNS cache in Windows:

Step 1. Open your command prompt. For Windows 8 and older, click on Start > Run > type cmd and click OK button.

command-prompt-windows7 | DNS cache

For Windows 10 Click Windows icon, search for cmd and choose on Command Prompt.

command-prompt | DNS Cache

Step 2. Command prompt will open up.

Flush DNS Cache

Step 3. Type in the following command:

ipconfig /flushdns

Press Enter key of your keyboard.

ipconfig-flush-dns

You will have a result which is most likely the same as the screen shot below.

successful-flushed-dns

Mac OSx:

Step 1. Open your Launchpad and search for Terminal. Click on the terminal icon.

mac-terminal-icon

Step 2. A new window will prompt.

terminal-mac

Step 3. Type in the following commands:

sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder; say cache flushed

Press Enter key.

(Note: This command will delete all DNS entry in your computer.)

flush-dns-mac

Step 4. Type in your computer’s password and press enter key.

flush-dns-password

This will automatically return the username of your Mac indicating that you may proceed with another command.

 

Google Flush Cache:

Step 1. Access the Google Flush Cache URL link.

Step 2. Enter the domain name. Choose on the RR type (A, AAAA, CNAME, MX, NS, PTR, SOA, SRV, TXT). Tick the check box “I’m not a robot.”

Google Flush DNS Cache

Step 3. Click Flush Cache button.

 

Note:

If flushing the DNS does not work, you may also test your site using the host file.

 

(Visited 295 times, 1 visits today)