When URL’s are just not resolving the way you want it, time to clear or “flush” the dns nameserver local cache.

How to clear the local DNS cache? Open terminal and type the following command for your appropriate OS X Version:

Note: Updated on January 13, 2018:

macOS 10.13

macOS 10.12

OS X 10.11

OS X 10.10

OS X 10.9

OS X 10.7 & 10.8

OS X 10.5 & 10.6

You may need to enter your password.

Are you a Windows or Linux user? No problem, here’s some love:


Linux (Depending on your distro)