2 Tips for Win7 system access to a specified Web page

Source: Internet
Author: User

Option 1 To modify the Hosts file

The Hosts file is located in the windows/system32/drivers/etc/directory and is used to control domain name access. I think of the way to modify the hosts file, so that DNS domain name resolution of these sites are pointing to 127.0.0.1, as follows:

127.0.0.1 www.rzxt.com 127.0.0.1 http://www.xitongshoucang.com/...

However, it is impossible to write all the domain name, someone asked with 127.0.0.1 * can? The answer is no, because the hosts file does not support wildcard characters.

So this method is theoretically feasible, but not practical.

Method 2 through the Hosts file and network settings control

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

At this point, you will find that the open browser through the domain name to access any Web page is not a good (but through IP can, but this can at least screen out 95% of the users, because

Most users only remember domain names, it is not possible to remember server IP.

2. Modify the Hosts file to specify the domain name that is not prohibited. For example: 61.135.169.125 www.rzxt.com, at this point, when accessing http://www.xitongshoucang.com/, it is not through the DNS server, but directly mapped to 61.135.169.125.

The above is about the Win7 system to visit the specific Web page of the concrete method, netizens to learn Oh! can let the netizen in open the webpage, the comfortable see oneself likes of webpage Oh!

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.