Block or Redirect Excessive Sites Using HOSTS File

Block or Redirect Excessive Sites Using HOSTS File

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, ads, porn web sites, and even redirect one web site to another.

On this page I will demonstrate simple tips to mess around with all the hosts file to perform a number of the above mentioned jobs.

What exactly is a hosts File?

The hosts file can be like some other computer file which is used by the os to map hostnames and names of domain on with their matching internet protocol address details.

Put another way, whenever you type “google.com” in your browser’s target bar, your personal computer can look for the hosts file to see you typed (google.com) if it has the matching internet protocol address for the website name. In the event if no entry is contained in the hosts file, the demand will be handed down to your DNS (website name System) server to search for the internet protocol address.

hosts File vs. DNS

With regards to resolving the hostnames, the hosts file is because of the priority that is first the website Name System. The hosts file remains unconfigured on the operating system and hence the DNS is used by the computer to resolve the domain names to their corresponding IP addresses in most cases.

Nonetheless, then this is picked up and used by the operating system if the hosts file is found to contain a valid entry for a given hostname or domain name.

Where could be the hosts File Located?

Windows: in case there is the Windows operating-system, the hosts file is situated at:

This should be in most cases


Continue Reading
Close Menu