Block a website address from opening in windows
Posted March 14, 2010 – 1:28 pm in: Computer Secutiry Tips, Computer Tips, Computer Tricks, Hacking Tips Tricks, Windows Vista Tips, Windows XP TipsThis trick will be helpful for those who want to block access to particular websites on their system. Parents can block certain websites from their younger ones. It can also be used in schools and colleges etc….
Well this trick is very simple and it goes this way.
1. Open MyComputer
2. Browse C:Â Â (or your Operating system drive)
3. Browse Windows –>System32–>drivers–>etc
so the Location will be C:\WINDOWS\system32\drivers\etc
In the etc folder look for the file hosts
4. Open this file hosts with notepad.
5. Locate the line 127.0.0.1 localhost
6. To block www.google.com for example, just add this text under
127.0.0.1Â localhost:
127.0.0.1 www.google.com
127.0.0.1 www.yahoo.com
7. Save the file.
In this way add any number of sites you want, however you will need to prefix it with “127.0.0.1″.
Note:Â This blocks the website from opening in any browser whether it is Mozilla Firefox or Internet Explorer
Related Posts B
- For Safe Computing Disable CD/DVD or USB Autorun in windows
- Delete Autorun.inf Virus Manually using just Winrar
- Notepad Trick to Open notepad continuously
- Recover Windows XP Administrator Password
- Windows tweak to speed up your hard disk speed
- Windows registry tweaks to provide restrictions or Enable/disable
- Rename The Start Button in Windows XP to your desired name
- Schedule or Auto shutdown PC at specified time – Freeware for Windows Linux or MAC
- Top Ten Tips To Improve System Speed
- 10 Simple tips to bring computer to normal state when it freezes or hangs up
Warning:
Copying this post onto your website is strictly NOT allowed. However, if you like this article, you can directly link to this article.
Support Us
Add Our Banner to your web site, blog or promote me in your email signature. Simply copy and paste the code below to link Back to Us..













7 Comments
Trick is not working…
You might be making some mistake, its working fine. Follow each step properly and try again. I block some porn sites(not to mention) using this simple trick
It’s working that’s gud..great.
When i open the file it automatically close within fraction of second.At that point there is no other application is opened like ie etc..
it worked man. it worked on my pc. thanx a lot.
Thanks it work, now it safe for the kid
nice one, tnk u. how can i write a program copying it self on notepad?