Tricky way to block or tease web site on your PC
Monday, August 27, 2007 by Jason
At my work, we are using this technique to map our private IP addresses with the specific domain names. But if you use it the other way around, it could block specific web site on that local PC. So, if you want your kids never go to some web sites, you could use this technique. Please note that this technique is highly ineffective to use as a parental software.
Please follow the steps below.
And that site won't be able to browse anymore.
If you want to tease your untechnical friend or spouse, you could map ip address with the name of the web site you want to tease. For example, if you add this line
Please follow the steps below.
- Open My Computer.
- Go to C:\WINDOWS\system32\drivers\etc
- Find the file named "HOSTS"
- Open it in notepad
- Under "127.0.0.1 localhost"
- Add 127.0.0.2 www.xxxxxxxxxxxx.com
And that site won't be able to browse anymore.
If you want to tease your untechnical friend or spouse, you could map ip address with the name of the web site you want to tease. For example, if you add this line
66.94.234.13 www.google.comit will always go to Yahoo! whenever you type www.google.com. Have fun teasing, no fighting please!