1. From your windows desktop, click windows START button
2. Choose RUN to display the Run dialog box.
3. On the Run dialog, enter "notepad \windows\system32\drivers\etc\hosts". (alternately you can use windows explorer to browse to "c:\windows\system32\drivers\etc" then locate the hosts file.)
4. Press enter to open the hosts file using notepad.
5. Add a line into the file that looks like this.
127.0.0.1 www.xxx.com
127.0.0.1 www.youporn.com
127.0.0.1 www.dontgohere.com
6. Then Save it using notepad's File > Save.
For more Windows Tips & Tricks, subscribe now.
2 comments:
hi, recently i am doing a project. This project i need to block the unwanted website to disallow the children access to certain website. i have refer to ur post, using the host file to block the website. But as i know the method only can block the URL only not entire website. For example, if i block the google.com, but i still can access the google.com.my.
Hi. You can add google.com.my on hosts too.
Post a Comment