Modifying your host's file enables you to override the domain name system (DNS) for a domain on a specific machine. Also, causes your local machine to look directly at the Internet Protocol (IP) address that you specify.
1. Open your text editor in Administrator mode.
2. In the text editor, open C:\Windows\System32\drivers\etc\hosts.
3. Add the IP Address and hostname.
4. Save the changes.
After you add the domain information and save the file, You can load the website using your browser. Your system begins to resolve to the IP address that you specified. When testing is complete, remove these entries.