Block Site On Your Computer Easily

Here is a guide to Block the websites that you want to Block to prevent your Brother/Sister for teasing.

Please Note that this will not work If you use proxy from your browser.This tutorial has been tested on Vista/XP/Windows 2003/Windows 2000.

Ok here it is starting

First step is to prepare your self [ Prepare Site list 😛 ]

– Now go to Start and go to Run

– Type Following address/path    c:\WINDOWS\system32\drivers\etc\HOSTS   [please make sure your current/working window installation is on which drive Replace c: with ur windows installtion drive]

– Now open this file in Notepad/Wordpad/Any othe text editor you want

– Note that this is Host file of windows where you can specify the IP address of a Domain

– So now main work come [ I’m taking example to blocking the orkut ]

type following in the last lines of that file

127.0.0.1     orkut.com

127.0.0.1   www.orkut.com

the above will specify orkut.com or www.orkut.com  with an IP address of 127.0.0.1 i.e the domain name of orkut will be resolved as 127.0.0.1

– Now the most Important thing is to save that file 😀

– now open command prompt [ Start -> Run -> CMD ]

– Type following command

ipconfig /flushdns

the above command will flush the DNS cache on ur machine

– Now do following command on command prompt

ping orkut.com

It will show the following

pinging orkut.com [127.0.0.1]  with 32 bytes of data

Reply from 127.0.0.1: bytes=32 time<1ms TTL=128

Reply from 127.0.0.1: bytes=32 time<1ms TTL=128

Reply from 127.0.0.1: bytes=32 time<1ms TTL=128

Reply from 127.0.0.1: bytes=32 time<1ms TTL=128

if it is shown its IP address else then 127.0.0.1 then ur setting might be wrong [ In that case you can contact me by leaving a comment here ]

– Now we are in final stage of our tutorial

open you web browser and u will be unable to open the  website you blocked

——————–

Note for user who want to use the block site again

Open the host file as explained above and delete entries and give ipconfig /flushdns command . If u still face problem we will help you . Just leave comments.

———————

Other Intresting Notes or Tips For this HOST file

this host file can be used for making faster site resolving domain name to IP. just enter the IP address of the site you want to make faster .

———————-

THANK YOU

If you have any Problem or Difficulties with this tutorials you can post comments here.

5 thoughts on “Block Site On Your Computer Easily”

  1. dude, i would like to thank you for the useful post. I got a problem, when i do the ping, it gives real ip ?!! means it ain’t working :S

    hope you will contact me by the solution 🙂

    thanx agaoin..

  2. @Aravind No it will not have any effect even if the site has multiple IP’s coz it will look first in ur file then will query DNS . so It will get the site IP from that file and no matter if it has more IP’s 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *