Let’s admit it, we’ve all been faced with an awkward situation when some unwanted an annoying ad or a website gets opened while browsing the Internet, whether in the office or sitting at home. This, however, isn’t always critical, but can be really annoying at times. Now there are multiple ways to get rid of these annoying websites ranging from browser extensions to hardware proxies. However, the most simplest way to eliminate these websites is already loaded onto the operating system (Windows) by default. In simple words, the whole solution is in the Hosts file.
Now a hosts file is an ordinary file in the system with a rather special role to play, it maps the hostnames to IP addresses for the operating system, it’s just a text file often named ‘hosts’. Editing this file is not everyone’s cup of tea and can often leave the user confused. This article will show you how to edit the host files, and get rid of the ads for good, doing so also results in faster load times for websites.