There are lots of applications/softwares available which allows you to prevent access to websites from your computer. But if you do not want to spend any money, then you can do it manually by using the following procedure:
- Go to C:\Windows\system32\drivers\etc folder.
- Find the file named as hosts and open it in notepad [For Linux users, this file is located in the /etc/ directory. you could run a sudo nano /etc/hosts/ to edit the file].
- Under the line that says 127.0.0.1 localhost, add a new entry 127.0.0.2
and save the file. - For example, if you want to block “www.santabanta.com” website, then add an entry like this: 127.0.0.2 www.santabanta.com
- For every website that you want to be blocked, just add “1” to the last number in the internal ip (127.0.0.2) followed by the web address to be blocked, as shown below:
127.0.0.3 website0
127.0.0.4 website1
127.0.0.5 website2
.. 127.0.0.33 website33 …. and so on.
I tested this procedure to block www.google.com website from my windows 7 operating system and it works. After adding entry for blocking Google website, my Firefox and IE browser shows a page
0 Response to "Block Websites on your Computer without any third-party Software"
Post a Comment
You Comments Are Welcomed!