How to keep your computer from accessing pages you don't want to visit

Source: Internet
Author: User

There are a lot of pages on the website for us to browse, but sometimes our computer does not want people to browse certain pages, such as do not want to play 4399 games and so on. Or, more broadly, do not want the site to browse any Web pages. At this point we need to go to the simple set.

1

You need to change the hosts file if you want to keep the page from being browsed

The Hosts file is the file that controls what our computer reads when it reads the site's IP address. If the Hosts file does not make changes to the site then it will go to the Internet to find, if there will be read the local, at this time we only need to change the hosts file, we can not access the site of the computer.

2

The Hosts file is located in the windows/system32/drivers/etc/directory

3

To make certain sites inaccessible, you can add them under the Hosts file:

127.0.0.1 www.baidu.com

127.0.0.1 www.qq.com

4

To keep all sites open, follow these settings

Set the DNS server to 127.0.0.1 in Network settings, network link state-> Tcp/ipv4-> Properties-> Preferred DNS server->

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.