How to modify your hosts file on windows

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.

Example:
171.10.10.5 www.server.com
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.


Was this article helpful?

mood_bad Dislike 0
mood Like 0
visibility Views: 269