Do you need to block any websites
accessing from your children’s PC or you need to block a specific website from
office computers? There is a simple trick to do it without any software.
- Open your Windows folder from Windows Explorer, then open System32\Drivers\Etc folder. In most cases it will be C:\WINDOWS\system32\drivers\etc.
Select the file named hosts and open it with notepad, alternatively you can open the file by typing the following command in Run prompt “notepad c:\WINDOWS\system32\drivers\etc\hosts” without quotation marks.
- Go to the last line of the file and hit Enter key, add 127.0.0.1 then type the domain you need to block as shown in the above screenshot (in my example I added facebook.com), save and close the file,
- Try to access the website that you blocked from your web browser.
We can block any number of websites in this way. It is also very useful to block the spyware websites.
If you need to unblock it later, open the file and delete the unwanted entries