If you want to block a particular website or websites so nobody can access them through your computer, then you can use this trick that I’ll show you in this article. This trick is useful in situations like you don’t want any children in your house surfing certain websites or you use an application (like Photoshop CS5) that checks the validity of its key online and for some reasons you use a fake key or crack. You can block any website in Windows easily without using any software. Let assume that you want to block Facebook website.
You can block other sites simply by adding them under 127.0.0.1 localhost, for example you want to block Facebook as well as Orkut site, and then your host file must be like this:
ADD:-
4. Instead of 127.0.0.1 you can also enter 127.0.0.2 and 127.0.0.3 (increase the IP address by one), like:
Both steps 3 and 4 working perfectly, actually when you add
Now follow these steps:
1. Go to My Computer and then C:\Windows\System32\drivers\etc\hosts
You can block other sites simply by adding them under 127.0.0.1 localhost, for example you want to block Facebook as well as Orkut site, and then your host file must be like this:
127.0.0.1 localhost
ADD:-
::1 localhost
127.0.0.1 www.facebook.com
127.0.0.1 www.orkut.com
Refer to the image below:
4. Instead of 127.0.0.1 you can also enter 127.0.0.2 and 127.0.0.3 (increase the IP address by one), like:
127.0.0.2 facebook.com
127.0.0.3 www.orkut.com
Both steps 3 and 4 working perfectly, actually when you add
127.0.0.1 www.sitename.com
then Windows handles all domain name resolution requests for www.facebook.com by the local machine as a substitute of configured DNS.
5. Go to your Internet browser and type the website address and see the result. If you want to unblock the website and back to the default, simply delete the lines that you have entered before.
If u like this plz share it on facebook ,to elaborate the blog.
0 comments:
Post a Comment