Saturday, May 28, 2016

How to block sites without using Software


How to block sites without using Software follow these steps:1. Go to My Computer and then C:\\System32\drivers\etc.













2. Double-click on host file and form Open with window, select Notepad












3. Under the line


127.0.0.1 localhost


Or


127.0.0.1 localhost

::1 localhost











Add 127.0.0.1 www.facebook.com











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

::1 localhost
127.0.0.1 www.facebook.com
127.0.0.1 www.orkut.com


Refer to the below:











4. Instd of 127.0.0.1 you can also enter 127.0.0.2 and 127.0.0.3 (incrse 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 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.




No comments:

Post a Comment