international trade database-APP, download it now, new users will receive a novice gift pack.
Win7 hosts file modification tutorial Hosts file is international trade databasea text file located in the Windows system directory, which contains an IP address and the mapping of the corresponding host name. System table. The function of this file is to resolve the host name into an IP address. In the early days of the development of the Internet, it was mainly used to accelerate domain name resolution. But now, it can also be used for some special purposes, such as restricting access to specific websites or blocking advertisements. In this article, we will introduce how to modify the hosts file in Win7.1. Open the notepad. First, we need to open the text editor and start the notepad in administrator mode. Find the notepad application in the start menu bar and select "Run as administrator" in the pop-up menu. Two. Open the hosts file. The hosts file is usually stored in the C:\Windows\System32\drivers\etc directory. Select "File" > "Open" on the notepad, or use the shortcut Ctrl+O to enter the file opening window. Select "All Files" in the file type selection box, and then go to the folder corresponding to the opening path. Find the hosts file in this folder, select it, and then click the "Open" button. 3. After modifying the hosts file and opening the hosts file, we can start editing.To add some entries, you only need to add a new line at the end of the file, and then fill in the IP address and host name. For example: If we want to block all sites with an IP of 1.2.3.4, we can add the following line to the hosts file: 1.2.3.4 127.0.0.1 This line means to map the IP address 1.2.3.4 to the local loopback address 127.0. .0.1. This is equivalent to telling the operating system that all requests starting with IP address 1.2.3.4 should be directly accessed locally. If we want to add a commonly used site to the hosts file in order to access it faster, we can do this: 192.168.1.1 www.router.com In this way, we can use the more intuitive host name www.Router.com came to access the management interface of the router. Four. Save the hosts file. Remember to save the hosts file after we complete the modification. Press Ctrl+S or select "File" > "Save". Note: According to the limitations of the Windows system, the hosts file is a protected file, so we must open the text editor as an administrator to modify it. In addition, remember to back up the original hosts file. If you are not sure whether your modification will cause problems with the system, you'd better back up the hosts file before modification. The following are the steps for backup: - In the directory where the hosts file is located, copy the hosts file and rename it to hosts.bak. - Modify it after the backup is completed. Be careful when modifying.- If there is a problem with the modification, you can rename the backed up hosts.bak file to hosts and overwrite the original file again. Summary: The Win7 hosts file modification tutorial has been introduced. Although the hosts file is small and simple, it can do a lot of interesting things. We hope that this tutorial can help you quickly modify the hosts file and use the Windows system more conveniently.
Contact Us
Phone:020-83484696
Netizen comments More
2401 Global trade flow optimization
2024-12-24 02:18 recommend
2126 Trade flow analysis by HS code category
2024-12-24 01:33 recommend
227 How to comply with country-specific tariffs
2024-12-24 00:59 recommend
1527 How to use HS codes for tariff predictions
2024-12-24 00:28 recommend
102 HS code consulting for exporters
2024-12-23 23:56 recommend