Some companies will set the system to access the specified webpage in order to prevent employees from browsing other webpages; or some users want their own win7 system to be more personalized, let The browser only displays the specified web page, so how is this done? Let's take a look.
Method 1: Modify the Hosts File
The hosts file is located in the Windows/system32/drivers/etc/directory and is used to control domain name access. Modify the hosts file, let the DNS domain name resolution these sites point to 127.0.0.1, as follows:
127.0.0.1www.xitongzhijia.net
However, it is impossible to write all the domain names again. Someone asked if you can use 127.0.0.1*? The answer is no, because the hosts file does not support wildcards.
This method is theoretically feasible, but it is not practical.
Method 2: Control through Hosts file and network settings
1. Set DNS server to 127.0.0.1, network link status->TCP/IPv4-> attribute in network settings ->Priority DNS Server->127.0.0.1
At this time, you will find that it is not possible to open any browser to access any webpage through the domain name (but it can be done by IP, but this can at least mask out 95) % of users, because most users only remember the domain name, it is impossible to remember the server IP).
2. Modify the hosts file to specify domain names that are not prohibited. For example: 61.135.169.125www.xitongzhijia.net, at this time, when visiting www.xitongzhijia.net/, it is not through the DNS server, but directly mapped to 61.135.169.125.
Let win7 system access the specified webpage. This is a good idea. Whether it is the need of work or the need to create personality in life, it is a work worth learning. Interested users may wish to use it. Give it a try.
First, remove the Automatically detect settings check box 1, open the Internet Explorer browser, cl
Win7 upgrade Win10 system after each boot to choose & ldquo; Windwos 10 & rdquo; how to solve before
Recently installed a WIN7 every time you open a program always pops up a firewall prompt, but afte
win7 prompt error how to solve actionscript error Solution: 1, first open the lower left corner
How to solve the problem that there is nothing on the desktop after Win7 boot?
Win7 system Word can not open the solution to send error reports
How can I find the program I want to uninstall in the Win7 system control panel?
Win7 registry lock and unlock method
How to cancel sleep in win7 system notebook?
Windows 7 Home Basic and Ultimate Edition boot password cracking method
Win7 install iTunes failed to prompt the apple mobile device service can not start processing
Win7 system Ultimate can not record how to solve?
Introduction to Win7 program monitoring function (1)
Take you to play Windows7 to see the fun of win+Tab combination key
Win7 system Word document picture does not show how to solve?
Energy saving or performance How to configure Win8.1 power plan?
Win10 method of creating broadband connection
What if Windows 8 cannot set a static IP address?
How to download TV series from pptv
WP8.1 Cortana Voice is more user-friendly
Win7 boot often shows how to solve the windows error recovery interface
Communicate unbounded Windows 8 system easily install rich language packs