How to open a host

How to open a host

The file a host (hosts) is necessary for connection to different domain nodes. Using the text file a host, it is possible to block different connections. Most often the question of how to open a host and that with it to do, arises after the virus attack. For example, Internet users quite often face a problem of opening of some websites, the pages on social networks, etc. And change in contents of the file a host can just be the cause. To solve a problem, it is necessary to know how to open a host and as to correct it.

Instruction

1. The file a host is placed to the address C:\Windows\System32\drivers\etc. Therefore, it is necessary to pass this path, in turn opening folders – at first to open the folder where Windows is installed, in it to find and open system32 folder, then to find and open the drivers and etc folders. In this final folder there will also be a file a host. Having guided at it the cursor, it is necessary to click the Open point. To open the file a host, it is necessary to use any text editor, for example the Notepad, Notepad ++ or any other. It is important to consider in the Type of Files list to select the All Files item, the host has no expansion and is invisible, for example, to the Notepad displaying by default txt files.

2. After the file is open, it needs to be studied attentively. Comparisons of the IP addresses are stated names of nodes in the file a host. Having opened this document, it is possible to see the list consisting of the name of the website and the IP address which is attributed to it. Each element in the file should be located in a separate line. The IP addresses are in the first column, and they are followed by the name corresponding to the website. At the same time the IP address and a name of the website should be separated at least by one space. If to the address there is any explanation, then it goes through the sign #. Changes can be manually entered in the list of the addresses by the user and also the malicious application. By default, in the file the host is only the record "127.0.0.1 localhost".

3. That the changes made to the file a host were imperceptible to the user, records can be in the bottom of the text document. Therefore even if after the last line the blank space is visible, but scrolling it is possible to go down the file, it is necessary to make it and to check that all remained document is really empty till the end. In certain cases the changed file a host is just recommended to delete. However whenever possible it is better not to do it. It is desirable to erase from it all excess records, and then to save. After that it is necessary to reboot.

Author: «MirrorInfo» Dream Team


Print