Before talking about where to look for the hosts file, you should understand what it is and why you need it. In fact, it is a text document that contains information about domain names and their IP addresses.

And since the browser, when connected to a resource, first of all refers to hosts, and then to DNS servers, then by making changes to this file you can control access to various sites from a specific computer.

In particular, it can be used to deny access to specific sites by simply changing their IP. Most often, this trick is used by the creators of viruses, but you can also use it for your own purposes.

Where is the hosts file in Windows 8

After the release of Windows 8, the work with the hosts file became a bit complicated - if you make any changes to it, you will ignore them. The developers of the company have done this so that it is not used by cybercriminals and viruses.

To open it for editing, you can go to Notepad or Notepad , click "File/open" and enter the address C:WindowsSystem32Driversetchosts. In the window that opens, select the "All files" option. In order for the changes that you make in it to work properly, you must disable the tracking of this file in the settings of the Windows Defender.

How to find the hosts file in Windows 7 (Windows Seven)

Often to find hosts in Windows 7, you just need to go at C:WindowsSystem32Drivers. and then choose a folder etc where he is. However, in some cases it there may not appear, the reason may be that on your computer by default hidden system folder.

In order to make them visible, it's enough to find the "Tools" item on the top menu bar, select the "Folder properties" line in it, then click on the "View" tab in the appeared window. Here you can already remove the checkmark against the required parameter and vice versa - mark the point about the need to show hidden files and folders.

The location of the hosts file in Windows XP

In Windows XP, and later versions, this file resides on the system disk C in the folder with other system files and drivers. That is, if you want to find it, then you just enough to make all of the steps above by going to C: WindowsSystem32Driversetc. As a rule, no problems arise with this version of the system, and hosts are located where it is supposed to.

Where is the hosts file in Windows Vista

To open this file in this operating system, you can use different paths. So, for example, you can use Notepad and using the "File" menu, to reach manually at the address indicated above. Or you can just copy it and paste it into the address line that appears when you click "File / Open", so it will be much easier and faster.

What to do if your hosts file is not?

In the event that it is not in its place, you can try to perform the actions described above, and also try to find it using a standard search. It should be noted that in the case of search, it should be noted the parameter "search in hidden files and folders".

In addition, you can simply download hosts on the Internet, where, as you know, you can find anything you like. You can also use this method if you made mistakes in the source file during fixing problems, which you can not eliminate yourself. You just need to copy the information from the downloaded file, in which it is listed "By default" and replace it with everything that is in your.