Thursday, June 2, 2011
Block a website address from opening in Windows
Do you like this story?
This 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
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\
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
This post was written by: Divyu
Divyu is a professional blogger, web designer and front end web developer. Follow him on Twitter
Subscribe to:
Post Comments (Atom)
0 Responses to “Block a website address from opening in Windows”
Post a Comment