Propagating websites quicker on Mac OS X
So if you’re anything like me then you wont want to wait hours for a new domain to propagate, if you’re on Mac OS X then there’s a couple of tricks you can try to help things along.
The easiest option is to open up Terminal and type:
sudo dscacheutil -flushcache
There’s also another option if that doesn’t work, this also works on Windows but i can’t tell you where your hosts file is, on Mac OS X you can open up your hosts file and modify it so that it believes the new domain is pointing to the web server:
sudo vi /etc/hosts
Once the file is open add the following line under any other entries, replacing the ip address with that of your server and obviously change the domain also, once finished you should be able to load up the new website.
127.0.0.1 www.newdomain.com
Hope this helps some of you!