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 Tips
     

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….

Trick to block a website in windowsWell 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

  1. For Safe Computing Disable CD/DVD or USB Autorun in windows
  2. Delete Autorun.inf Virus Manually using just Winrar
  3. Notepad Trick to Open notepad continuously
  4. Recover Windows XP Administrator Password
  5. Windows tweak to speed up your hard disk speed
  6. Windows registry tweaks to provide restrictions or Enable/disable
  7. Rename The Start Button in Windows XP to your desired name
  8. Schedule or Auto shutdown PC at specified time – Freeware for Windows Linux or MAC
  9. Top Ten Tips To Improve System Speed
  10. 10 Simple tips to bring computer to normal state when it freezes or hangs up
  Tags: , ,

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

  1. Kingshuk
    Posted April 28, 2010 at 9:23 am | Permalink

    Trick is not working…

  2. Admin
    Posted April 30, 2010 at 1:42 am | Permalink

    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

  3. Posted September 20, 2010 at 6:45 am | Permalink

    It’s working that’s gud..great.

  4. whatsupinthe name
    Posted October 7, 2010 at 12:03 pm | Permalink

    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..

  5. sulvibs Thapa
    Posted December 18, 2010 at 3:13 am | Permalink

    it worked man. it worked on my pc. thanx a lot.

  6. Posted June 2, 2011 at 10:07 am | Permalink

    Thanks it work, now it safe for the kid

  7. hadji
    Posted July 20, 2011 at 1:47 pm | Permalink

    nice one, tnk u. how can i write a program copying it self on notepad?

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*