When transferring domains from one hosting company to
another, it sometimes takes my computer a while to realize there the new
address is (where the domain resolves to). To speed up the process and
ensure my Mac can see the new site’s location, I use the command:
lookupd -flushcache
This is a command you must input into the Terminal (Applications >
Utilities > Terminal). Type it in as above and hit the enter/return
key and then try to access the site again. You should also reset your
browser’s cache.
There are exceptions where this won’t have any immediate effect, but I have found it to work quite well.
If you have any other experiences, please add them in the comments below.