Home >System Tutorial >Windows Series >How to modify the hosts file in win10 system

How to modify the hosts file in win10 system

WBOY
WBOYforward
2024-03-27 11:11:26495browse

PHP editor Zimo will introduce to you how to modify the hosts file in win10 system. The hosts file is a configuration file used to map domain names and IP addresses. Modifying the hosts file can achieve effects such as blocking ads and accelerating access. In the win10 system, the method of modifying the hosts file is not complicated. You only need to follow certain steps. Next, we will introduce in detail the specific steps to modify the hosts file in win10 system, so that you can easily achieve the purpose of custom domain name resolution.

1. Open the device, enter the C drive, and locate C: windowssystem32driversetc; as shown in the picture:

How to modify the hosts file in win10 system

2. Then, find the hosts file in the folder. Right-click and select [Properties]; as shown in the figure:

How to modify the hosts file in win10 system

3. Find the account you are using in the [Security] column in the hosts file properties window and give [Modify] and [Write] permission, click [OK]; as shown in the picture:

How to modify the hosts file in win10 system

4. Then, open the hosts file in Notepad format; as shown in the picture:

How to modify the hosts file in win10 system

5. Finally, enter a specified IP for access and save it. as the picture shows:

How to modify the hosts file in win10 system

The above is the detailed content of How to modify the hosts file in win10 system. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:zol.com.cn. If there is any infringement, please contact admin@php.cn delete