How to update DNS for a domain on a particular machine?

This example illustrates the way to modify your hosts file which allows you to override the DNS for a domain, on a particular machine. This is very useful when you want to test the site without any test link before going live. Some interesting facts of this example: 1. Test website with actual links without…