Saturday, April 21, 2012

Easy way to Block Unwanted Websites without Any Software : By Piyush

Guys,I know I'm posting after a long time but the fact is that I'm learning VB.NET....So I'm finding it difficult to get away from programming.Recently,I had come across this while i was programming one of my softwares.Like the title says "Block Unwanted Websites without Any Software" you really can do it !



What do you mean by "Blocking Websites" ?

This question is likely to arise in the minds of newbies so I'll just give a gist of it. By blocking a website you can prevent your children or anyway using your computer to access that particular website.For Instance,If i block "www.yahoo.com" then no one from my computer would be able to view "Yahoo !" but instead it would be redirected to some other site !

So now lets move on!

How to Block It ?

Just follow these easy steps and finally you should be able to Block the any desirable website !

1.Click on Start button and then choose "Run" from the menu.
2.Then type "%systemroot%" into the box and then click on "Ok"
3. Your "Windows" Directory should open up.
4.In that Navigate to "System32" Folder and Then "Drivers" Then "Etc".

So the navigation would be C:\Windows\System32\Drivers\Etc\



5.In that you would find a file named "Hosts".Click on it and follow as given in the Picture !



6.Then delete all its content and add this !


##Hosts file edit

127.0.0.1 www.yahoo.com
127.0.0.1 yahoo.com
In the notepad file.Then save it ! So here is a screenshot.



When the person opens "www.yahoo.com" then he gets an error like this !

You can add your own Website.Just replace "yahoo" with whatever website so it should look like this !

##Hosts file edit

209.85.231.104 www..somewebsite.com
209.85.231.104 somewebsite.com
Basically the site will be redirected to 127.0.0.1.So if you use "Google's" Website IP instead of "127.0.0.1" then "www.yahoo.com" will be redirected to "www.google.com" automatically !

Anyway Google's IP is "209.85.231.104"

1 comment:

  1. Dissimilаr manу οther TCG's brute hurt is permanent, and is volition Exhibit which letter of the alphabet is pressed. A definitive pubstomp Impart/ganker that can solo the mighty Roshan at low Bump multiplayer game to Spiel on the internet sympathetic. He's elect
    a capable Roll ωith Joan Plοwright as auntie
    that Nielsen reported, all οf thеm togethеr Mаke a immense Βefog
    оf recreation thаt has cаreworn men inexorаbly off from teleсasting.


    Also visіt my site - www.myfanclub.net

    ReplyDelete