The Windows HOSTS file allows you to block some of this content very easily and for free.
The HOSTS file does not have an extension, but it is a plain text file. This file allows you to manually associate IP addresses with domain names (i.e., google.com) so the Domain Name Server (DNS) can quickly resolve an address.
To use the HOSTS file to block a website, assign the IP address of 127.0.0.1 to the domain name of known ad servers and malicious websites. 127.0.0.1 is the IP address of your local computer, if you chose to run a server on it.
As an example, let’s say some ad server hosts a banner ad at the URL: http://www.example.com/12345.jpg. If you associate this domain name with the IP address of your local computer, 127.0.0.1, when that website tries to load that image, it will not be found because the image file does not exist on your computer. Therefore, the ad will not display on that webpage.
Share this video:
• How to block any website
Watch video How to block any website online without registration, duration hours minute second in high quality. This video was added by user Quick Fixit 22 July 2017, don't forget to share it with your friends and acquaintances, it has been viewed on our site 16 once and liked it people.