Where is the hosts file on a Windows system

How many owners are starting the computer for no particular reason, to understand the principles of the applications and operating system?Is it really necessary to know where the hosts, and it's all about?Configure services, the choice of file size, optimization of load through changes in the configuration file ... enthusiasts find a huge amount of hidden settings, customizing who can achieve significant speed up the system.On the other hand, most users do not want to understand what the host Windows XP, but simply to use the computer for other purposes.And why should not interfere in the operation of the system, which successfully fulfills its function?Let's try to look into the matter and find out along the way, is it really necessary to know what lies behind the words «hosts Windows».

Have you ever wondered why the WAN so many stories about trick users of social networks "VKontakte", "Classmates"?Cheating is as follows: when you open the favorite resource appears on the screen, you want to send paid SMS to a specified number or the second case, a user account starts mass mailing (spam).In fact, the administration of social networks this is not implicated.

real reason for what is happening - infection of the computer virus program that not only knows where the hosts, but also successfully modifies it for their purposes.Surely among your friends there are those who sent SMS, "sponsoring" virus writers.Can solve this problem, if you look, where the hosts, and be able to work with him.

find the specified file is not difficult.To do this, follow the path of «Windows \ System32 \ Drivers \ etc \».By the way, not less effectively use the search function on the folder Windows.Please note that the file extension is missing.The second feature - its location can be overridden by the registry.In its structure, hosts - this is a plain text file, so if you need to make the required changes, you can use any text editor, suitable even a built-in file editor WordPad or Commander (Total Commander, Far).

Now a little theory.Any resource (site) in the Internet has its own number - IP-address.A name that we type in the address bar - it's his domain name.After all, much easier to dial «fb.ru», but not meaningless at first glance, a combination of numbers «194.58.79.36».Special software transmitting unit (DNS) converts addresses into domain names and vice versa, and for users of this operation is completely transparent.When a browser receives a command to open the site, it first checks the file hosts, which can be prescribed by a line directly overrides the corresponding names and addresses, so the DNS lookups are not happening.

So if hosts will line «194.00.77.31 fb.ru» (we have registered "left» IP-address), then set the browser «fb.ru» open website address 194.00.77.31.The ability to specify hard to accelerate the download sites because the mechanism eliminates the need to use DNS (search service matching the chain of Internet servers).In addition, you can block access to undesirable by specifying the address of your computer 127.0.0.1.For example, if the child attends an adult site «xx.yyy», making the hosts line in the «127.0.0.1 xx.yyy», you can block access to the site.

However, as the virus is known, where the hosts, they can make their corrective line, redirecting unsuspecting user to a phishing site is a fake.Man typing in the address favorite resource (for example, Classmates), falls on the site virus writers, apparently a copy of the original.Then everything is simple: there is a window with a request to send SMS.Alternatively, the user, are entering their login details, thus informs their creator dummy site.