This guide shows you how to edit hosts file in Windows 10 PC easily without any third-party software. The hosts file is an important system file which maps the host/site names with it’s IP addresses. Basically, it translates the host name to IP and IP to host name. So the browsing and accessing other network places/shares by ‘name’ will be smoother by avoiding DNS server requests.
You can block any website from editing a Host file in any Window PC.
How to Edit Host File in Window 10 PC
1 .Type Notepad in search box, right-click on the Notepad app and select Run as administrator
2. When notepad is open click on File and select Open.
3. Open Host file in Notepad by going below path.
Make sure you select All Files instead of Text Documents(*.txt)
Select hosts file and click on open.
3. This is your Host File.
4. Once notepad is open you can edit the file. In this example, we will block Facebook. To do this just enter in the following after the # mark.
5. Now that you have edited your Hosts file make sure to save it.
Now notice if you try to access Facebook in the browser you can’t get to the page.
Related Video :
Get more more interesting article like this
in your inbox
Subscribe to our mailing list and get daily new articles and updates to your email inbox.