Win10 how to block the website Win10 screen designated website graphic tutorial

  

Nowadays computers are very popular in the home and office places, you can browse all kinds of websites on the Internet, and there are many excellent websites, but there are not many pairs. Computers are safe, or affect the physical and mental health of the website, such as we need to block some of the advertising sites or parents to block some bad information sites or game sites for the healthy growth of children. So now the question is coming, how to block the designated website? The following computer Pepsi network editor takes the Win10 system as an example to teach you how to block the website.

Win10 how to block the website Win10 screen specified website graphic tutorial

There are many ways to block the specified website in the computer, such as setting up the router, using the software to shield the website or by modifying the hosts file Blocking websites and so on, and modifying the hosts is the easiest way to make it a priority. The following are specific methods.

1, first use the "Win + R" combination shortcut, open the run operation box, and then type the path of the hosts file:

C:\\WINDOWS\\system32\\drivers\\etc

When finished, press the Enter key or click “OK”Open, as shown.


Note: C:\\WINDOWS\\system32\\drivers\\etc The first C is the system installation disk. The general computer system is installed on the C disk. If the default is not the C disk, Then you need to change this drive letter.

2, after opening the etc folder, right click on the hosts folder, then click "Open" & rdquo;, then select "Use Notepad" to open, as shown below.

Open mode


Notepad open

3, after opening the hosts file with Notepad, just add the URL in the following format, at the bottom of the hosts file. Add it, you can block the specified website, as follows.

127.0.0.1 + URLs that need to be blocked, or 0.0.0.0 + URLs that need to be blocked (separated by a space between the previous IP address and the right URL). For example, we want to block the computer Pepsi network (www.pc841.com) or Baidu website, add the two website URLs according to the following format, and then save it, as shown in the figure.

After completion, you can try to open the computer browser, and then enter the above URL to see if it can not open normally, as shown.

By the above method, you can easily block specific websites without knowing it, such as some game websites, some video websites, as long as you want to block, you can easily modify the Hosts file. Realization, this is very practical to prevent bear children from indulging in some online game websites and video websites.

Special instructions:

If you can't find the hosts file or can't modify it, please refer to the following method.

Can't find the hosts file? It may be that the file is hidden, the solution: "How to display Win10 hidden files Win10 shows hidden files or folders method"

The hosts file cannot be saved? Solution: "How to modify the hosts file Win10 system can not be modified"

Ps. The above method is also suitable for XP, Win7 and Win8 systems. If you want to unblock, you only need to edit the hosts file again, then delete Drop the added 127.0.0.1 + URL that needs to be blocked and save it.

Copyright © Windows knowledge All Rights Reserved