Hosts is a system file without extension, can be opened with a tool such as Notepad, its role is to some common URL domain name and its corresponding IP The address establishes an association "database"; when the user enters a URL that needs to be logged in in the browser, the system will first automatically find the corresponding IP address from the Hosts file. Once found, the system will immediately open the corresponding webpage, if not If found, the system will submit the URL to the DNS domain name resolution server for IP address resolution. When the user enters a URL, the system will look for the corresponding IP address from the hosts file, and then the browser can open the web page. What should I do if I encounter a damaged host file or have been tampered with? Please take a look at the methods for repairing the hosts file.
1, first we need to find the hosts file, which is located in the c:\\windows\\system32\\drivers\\etc item.
2, you can directly press the combination key win+r to open the run, type c:\\windows\\system32\\drivers\\etc and press Enter to find it.
3. After finding the hosts file, copy it to the desktop and open it with Notepad.
4. Delete the entire contents of Notepad, copy the following to a file and save it:
# 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 # source 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
5, then put the modified hosts file into c:\\windows\\system32\\drivers\\etc to replace the previous hosts file, you can complete the repair.
The above is a small series of win7 system hosts file repair method introduced to everyone, I hope to help everyone, if you have any questions, please leave a message, Xiaobian will be timely Reply to everyone. Thank you very much for your support of this website!
Microsoft pushed the win10 mobile phone preview version 10149 update, and brought the win10 mobile p
win10 pagefile.sys how to delete? In the Win10 system, there is a file called pagefile.sys in the us
We know that win10 is now free to upgrade, so how do we upgrade to win10 in the case of win7 or 8 or
remote connection can help us a lot of computer operations in advance, for the simplest example, if
How to use Windows EFS (how to encrypt folders) for file encryption
What is the price of win10 Professional Edition in China? How to buy win10 Pro?
WinXP's special method of arranging photo files is more than just type and name
How does the win7 system clear the R230 printer?
U master "one-click backup system" operation steps
Windows7 no sound, no sound solution when booting
How does Win10 manually check whether the reported error report has been resolved?
Windows 10 conference held today 13 new features to quickly interpret
Win8.1 system connected to the mobile phone hotspot after the blue screen restart solution
How to change the Win10 system taskbar transparent
The time in the lower right corner of the Win8 system desktop disappeared. How to retrieve it?
Win10 does not log in to the Microsoft account to download the application tutorial
What if the application can't always be completely uninstalled?
Quickly preview file contents using the Preview Pane in Windows 8
Windows 8.1 runs the solution of the blue screen in the Dragon Valley
DNF Abyss Party big challenge low level abyss brush which figure is good
U disk PE boot disk graphic tutorial using USB treasure box
Win10 build 10041 installation upgrade to build 10049 version to get started experience