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.
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.
Step 3: Now, right-click on Home and select Browser on file from the menu.
4 phase: Copy the path below and paste it into the file Browser on file address bar to reach the etc binder.
Step 5: When opening the etc folder, you will see the file Hosts archive. Copy the file Hosts archive:
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.
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.
Step 8: Now drag the file Hosts file dal desktop a etc folder in Browser on file.
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.