How can I set up Win10 to access a specific website? How can I block access to a website?

  

How does Win10 block access to a website? This is a question that many users will have. In fact, no special settings are required. Just modify the hosts file to prevent access to a website. How to implement this method? Please see below.

How does Win10 block access to a website?

1, the address C: \\ Windows \\ System32 \\ drivers \\ etc to find the hosts file;

2, right-hosts file, click on the & ldquo; Open & rdquo ;;

3, selected & ldquo; Notepad & rdquo; open hosts file;

4, open at the bottom input 127.0.0.1+ hosts file URL or to block 0.0. 0.0+ URL to be shielded, as shown, the intermediate IP addresses and URLs separated by a space;

settings take effect

5, save the file.

If you can not save the current hosts, please refer to: "approach hosts can not be saved"

The above is the method by hosts file to block access to a site, the user if the temporary change The idea is to add a # in front of a specified website in hosts.

Copyright © Windows knowledge All Rights Reserved