Sometimes you need to make changes to a website that can't have the DNS properly updated. You can do this by tricking your computer into thinking the website is somewhere other than what the official public DNS records show.
This is what we call the local hosts file hack, or test DNS hack.
Here's how you do the local hosts files hack for Windows.
Here's how you do the local hosts file hack for OSX.