How to Edit Hosts File in Window 10 PC in Just Seconds

How to Edit Host File in Window 10 PC

How to Edit Host File in Window 10 PC

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.

READ  Modify Hosts File & Block Websites On Android

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

Open Notepad as Administrator

Open Notepad as Administrator

2. When notepad is open click on File and select Open.

Open file in Notepad

Open file in Notepad

3. Open Host file in Notepad by going below path.

c:\windows\system32\drivers\etc\hosts

Make sure you select All Files instead of Text Documents(*.txt)

Select hosts file and click on open.

Edit Host File in Window 10

Edit Host File in Window 10

3. This is your Host File.

Host File in Window 10

Host File in Window 10

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.

0.0.0.0    www.facebook.com

Block Website from Host File

Block Website from Host File

5. Now that you have edited your Hosts file make sure to save it.

Save the Host File

Save the Host File

Now notice if you try to access Facebook in the browser you can’t get to the page.

Related Video :

READ  Top 10 Best Free Hacking Tools Of 2016 For Windows and Linux

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.

Comments

comments