The Windows hosts file is one of the major files on the system that malicious scripts, trojans and spyware programs use to manipulate the host system to redirect website or IP requests.
The hosts file can be used for instance to redirect the website of Google, eBay or Amazon to a different server while the correct url is still visible in the address bar.
As is often the case, what can be used for evil, can also be used for good.
The host file can also be used to block advertisement on websites by changing the IP of the ad servers to localhost (that is your own system), and to block other servers and domains, for instance those that are known to be malicious or privacy-invasive.
HostsMan is one of the better host file editors, scanners and protectors. A very nice feature is the ability to update the local host files with lists that are available on the Internet that block advertisements and malicious websites.
Seven different hosts files can be downloaded in HostsMan by default, among them the well respected MVPS Hosts file and Mike's Ad Blocking Host file.
What's great about this is that you don't need to create your own list, or go hunting for a working list somewhere on the Internet, as the functionality is built right in. You can add one or multiple of the lists to the Windows hosts file.
It is also possible to add your own source if you prefer to user a different list not displayed by the application.
To do so click on "add source" in the source manager. Select a local file or a web URL as the new source, and give it a unique name.
You can furthermore choose to import comments and possible hijacks, or block those.
Other options that are included are to backup the hosts file, add additional update sources, scan the host file for errors and possible hijacks. Besides backup, HostsMan allows you to import and export information which you may find useful if you work on multiple PCs and want the same hosts list available on all of them.
The host file editor is offering faster and better editing possibilities as well. There is even an option to auto-update the host file with the latest host files from the selected lists.
When you first run the program -- you should do so with elevated privileges by right-clicking the executable and selecting run as administrator -- you can either open the hosts editor, the backup manager, the options, or select one of the Internet sources that you want to add to your hosts file.
If you open the preferences, you get additional interesting options. Here is a short selection:
I made a quick test and disabled the Firefox extension Adblock Plus. The result was a faster browsing experience. The only difference was that some ad blocks, most notably the Google Adsense block was displayed with a "Cannot connect" block while Adblock plus always removed that block completely from the websites.
Still, it feels much faster right now. If you try it out as well let me know about your experience please.
Hostsman is available as a portable version and setup version.
This new version added "Dan Pollocks' hosts file" as a new source, updated two source URLs, and introduced an option to open local update source files in the editor. It also offers more information when the hosts file is in use by other applications, and fixed several bugs in the application.
Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.
We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.
If you like our content, and would like to help, please consider making a contribution:
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.