How to edit host files in Windows 10 step by step

How to edit host files in Windows 10 step by step

There is a hosts file on every Windows 10 PC that helps with basic host naming. So while DNS converts domain names to IP addresses, the hosts file can override it. This file allows you to map certain domain names to a specific IP address of your choice. The hosts file on your PC is specific only to your system and using it you can create our own URLs for specific IP addresses on your network. You can also use the file to redirect your chosen websites.




People may want to make changes to the hosts file on their Windows 10 PC to block certain websites and for many other reasons. However, if you change it incorrectly, it could cut your internet connection. So today, in this post, we are going to explain how to make changes to the hosts file in Windows 10 the right way.

Solution: via File Explorer

Step 1: Go to the Windows search box (next to Home) and type Folder options.

How to edit host files in Windows 10 step by step

Step 2: Left click on the result to open the file File Explorer Options the dialog box. Go to View tab and then below Advanced settings> Hidden files and folders, select the radio button next to Show hidden files, folders and drives.

print To apply and so ok to save changes and exit.

How to edit host files in Windows 10 step by step

Step 3: Now, right-click on Home and select Browser on file from the menu.

How to edit host files in Windows 10 step by step


4 phase: Copy the path below and paste it into the file Browser on file address bar to reach the etc binder.



C: WindowsSystem32driversetc


Step 5: When opening the etc folder, you will see the file Hosts archive. Copy the file Hosts archive:

How to edit host files in Windows 10 step by step


Step 5: Now paste the cut file into the file Desk.

Step 6: Now, double-click the hosts file on the desktop and it will ask you for it How do you want to open this file? with a list of options.

Please select pad and press ok.

How to edit host files in Windows 10 step by step

Step 7: It will open the hosts file in pad. You can add any link if you want and click archive tab and select Save Before you leave.

How to edit host files in Windows 10 step by step

Step 8: Now drag the file Hosts file dal desktop a etc folder in Browser on file.

How to edit host files in Windows 10 step by step

Step 9: Then select Replace the file in the destination and then press Follow (provides administrator permission).

That's all. So, here's how you can make changes to the hosts file on your Windows 10 PC.

add a comment of How to edit host files in Windows 10 step by step
Comment sent successfully! We will review it in the next few hours.