How do you check that your new website is working without updating the DNS for the domain?
Well, if you know the new IP address, you can “trick” your home computer/browser to show the site you want, rather than the old site.
1) For Windows 7, click on the Start Menu, choose “All Programs” >> Accessories.
Next right-click on Notepad, and choose “Run as administrator”
2) Choose File, then Open…
In the File name: type in c:\windows\system32\drivers\etc\*.*
Find the “hosts” file, click on it, then click on the “Open” button.
3) Scroll down to the very bottom of the file, and add in a new line in this format, IP Address (whitespace) domain name:
184.108.40.206 www.example.com 220.127.116.11 new.example.com
Once you save the file, you’ll instantly be able to type in the domain name that you want to test. With the above example, that means typing in http://new.example.com will take you to the server at the IP address of 18.104.22.168. And if instead you typed in http://www.example.com, you would hit the server located at 22.214.171.124.