Win7 Ultimate system to modify the host file to achieve the URL to turn or block the specified URL skills

  
                                    

1, first we open the C: windowssystem32driversetc folder in the win7 system, and then find the host file;

2, then right click on the host file, select "lds; notepad" to open, if When opening, the system prompts that there is no permission. You can get the permission first;

3, then we enter the 127.0.0.1 space at the bottom of the document and you want to block the URL (such as baidu.com), as follows Figure;

4, if you want to redirect the URL you can replace 127.0.0.1 with the target IP address, and finally we close the file and save;

5, this When we enter the baidu.com website, the win7 system will automatically resolve to the 127.0.0.1 native IP, so that you can not open any web page.

Copyright © Windows knowledge All Rights Reserved