When launching a new website and making a DNS change, it’s not enough to simply hope everything was done correctly. Here’s a simple trick you can use to test DNS changes on a Windows PC before they ever hit your nameserver.
You can fake or override DNS lookups by manually entering an IP address for any domain name you want. Use it to see if yoursite.com looks OK on the new server or IP address before DNS makes it around to you.
If you’re on a Windows machine, you can try this by adding an entry to the `hosts` file (C:\WINDOWS\system32\drivers\etc\hosts by default) on it’s own line:
That’s it – now reload your browser and visit www.yoursite.com. It will ignore DNS and resolve as 126.96.36.199 (or whatever you typed in).
Have a happy new year everyone!