Ever thought of blocking a specific site on your system? Well if you have and don’t know how to, then this tutorial will show you just how easy it is do that! You will need the following first:
- A Windows PC
- Administrator account must be logged on. Now go to your Primary Drive where your Operating System has been installed and then go to Windows–>System32–>Drivers–>etc.
Now in this etc folder you will find a hosts file names host.Copy this host file and paste it anywhere and then open it using a word editor like notepad for example.
Now add the name of the website you want to block, for example you want to block facebook.com after the line ” 127.0.0.1 localhost “, add ”127.0.0.1 facebook.com “.This will redirect the user back to your local IP address when ever facebook.com is contacted by the user of that computer. The lines starting with a ” # ” in the host file are all lines meant for commenting as it is already mentioned by default in your host file. Now save the file and then replace the hosts file in the etc folder discussed above with this. You will be asked whether you want to replace it with your new host file, then click on proceed. Now try opening the site in your browser and see the difference for yourself.