Hosts is a system file with no extension. It can be opened with a tool such as Notepad. Its function is to associate some commonly used URL domain names with their corresponding IP addresses. “Database”, when the user is in the browser. When you enter a URL that requires login, the system will automatically find the corresponding IP address from the hosts file. Where is the default file for the Win7 system's hosts? Let me talk about what the contents of the Win7 system hosts file are.
The steps are as follows:
First, what is the hosts file?
Hosts is a system file with no extension. Its basic function is to associate some commonly used URL domain names with their corresponding IP addresses. "Database",
When users are browsing When you enter a URL that needs to be logged in, the system will automatically find the corresponding IP address from the Hosts file. Once found, the system will immediately open the corresponding web page. If it is not found, the system will submit the URL to the DNS domain name resolution server for IP. Address resolution, if found to be blocked IP or domain name, it will be prohibited to open this page!
Second, Win7 hosts default file
File address: C:\\WINDOWS\\system32\\drivers\\etc\\hosts
The default contents are as follows:
------------------------------------------------ -------
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP For Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
#lines or following the machine name by d & a ‘#’ symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com #源 server
# 38.25.63.10 x.acme.com # x client host
# localhost name resolution is handled Within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
------------------ -------------------------------------
The above is the Win7 system hosts file. What is the content of the content. The hosts file is a file on the computer that is used to correlate the URLs and IPs that you are accessing. If you don't know, you can refer to the above content, and hope to help more people in need here.
win7 system laptop lock screen as follows: Method 1: On your Win7 system desktop, select the Start
How to open the caj file in Win7 system: 1. Open the PDF reader directly, click on the file →
Recently, a friend purchased a notebook. Since the Windows 7 system is pre-installed, when setting u
Win7 installer prompts “ The installer is already running 1. Right click on the taskbar and s
Win7 does not need to recycle the system files in the recycle bin
Win7 how to modify the startup time
Win7 can not start prompting Hal.dll corruption or loss solution
Win7 system how to disable the computer boot sound
Win7 system WPS document cancels the method of not setting a password
Win7 system open file appears security warning how to close?
Win7 computer to play DNF card screen solution
Can you play computer with thunder?
What if the Win7 input method icon is missing? How to solve?
Win 7 system, the master modified the hosts file has a trick
Solve the win8 RP part of the Metro application can not be used, flashback solution
Win7 desktop icon is gone, how to do
Microsoft Windows 7 improvements to Vista
Description of the xp user group
Throw away "clam meat" to make Microsoft Windows 7 faster
How to solve Win8.1 WiFi dropped or WiFi can't connect