Block A Site On Computer


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 :-D
- 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 comma

No comments:

Post a Comment