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.


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.


这章程是否对您有帮助?

mood_bad 不喜欢 0
mood 喜欢 0
visibility 查看: 14120