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.
The computer can be said to be one of the most frequently used digital devices in our daily life. It
A friend installed the win10 system and found that there is no new item in the right-click menu, and
With the official release of Win10, many computer enthusiasts now download and install the latest Wi
In the article Win10 control panel will be canceled?, we clearly know that Microsoft will cancel the
How to see if the system is genuine? Check Win7 is not a genuine method
How does the Win10 app store clean up the cache? App store cleanup cache wsreset command usage
Where is Win10 Network Neighborhood? Win10 Desktop Shows Network Neighborhood Network Icon Method
Win10 cumulative update KB3081424 installation failed solution
Win10 how to install and repair office 2013
There are many new features and improvements in Windows 10
Win10 can't be activated? Win10 activation FAQ processing method tutorial
20 Win10 universal Win key shortcuts Do you know a few?
Win10 official version upgrade common problems and answers summary
Win10 icon does not show how to do Win10 taskbar QQ icon is missing solution
Win10 start screen is gone? Win10 official version open Metro interface method
How to set the home page of the Edge browser Home page set graphic tutorial
CF Super Lucky Star event is re-opened for 30 days. Dragons and Nepal are waiting for you to receive
Windows 7 how to use disk management for hard disk partition
Win8 system Microsoft Pinyin input method to play full-width characters
Vista Virtualization Trouble Resolution
How does the Win7 system prohibit the flash plugin from automatically updating?
Win8 system hides or opens the icon in the lower right corner of the desktop
Analysis of computer system security points of attention
Win10 system cleanup start menu use record step
Win7 window switch shortcut method
Win10 folder blue double arrow how to cancel? Win10 how to remove the upper right arrow?