The hosts file is amongst the intriguing and feature that is useful of Windows and Linux systems that prov >hosts file to block irritating adverts, pop-ups, banners, porn web sites, and even redirect one internet site to a different.
Wen this article I will explain to you just how to mess around with all the hosts file to achieve a few of the above mentioned jobs.
What exactly is a hosts File?
The hosts file is like some other computer file that is used because of the operating-system to map hostnames and names of domain on for their matching internet protocol address addresses.
Simply put, whenever you type “google.com” on the browser’s target bar, your computer or laptop will appear for the hosts file to see you typed (google.com) if it includes the matching internet protocol address for the website name. In the event then passed on to the DNS (Domain Name System) server to obtain the IP address if no entry is present in the hosts file, the request is.
hosts File vs. DNS
In terms of resolving the hostnames, the hosts file is because of the priority that is first the website Name System. More often than not, the hosts file remains unconfigured in the operating-system and thus the DNS can be used by the computer to eliminate the names of domain with their matching internet protocol address addresses.
Nevertheless, if the hosts file is available to include a legitimate entry for the provided hostname or domain title, then that is found and utilized by the operating-system.
Where may be the hosts File Located?
Windows: in case there is the Windows os, the hosts file is found at:
This should be in most cases
Unix/Linux: in the event of Linux it really is found at:
Simple tips to Block an internet site?
All you have to do is just add a new entry for that site in the hosts file to block a specific website. Continuez la lecture