Saturday, 27 December 2014

How do block/unblock a website using command prompt

In Windows XP/ Windows 7 u have must to do Below Steps

1. Click Start->All Programs->Accessories->Command Prompt2. Click Command Prompt This will open a DOS command window.
3. Type: notepad C:/Windows/System32/drivers/etc/hosts
4. Locate the line 127.0.0.1 localhost
5. To block the website google.com for example, just add this text under 127.0.0.1 localhost:


127.0.0.1 google.com
127.0.0.1 www.google.com



You can add as many sites any site, However you will need to prefix it with "127.0.0.1".

6. Save the file
Google will now be blocked in all web browser. This is an advanced but easy method on how to blow a website. 


TO UNBLOCK:


1st Trick
1- Open the command prompt
2- Ping the website you want to unblock by typing "ping www.website.com" without the ""
3- Copy the IP next to "Reply From"
4- Paste the IP into your address bar.

2nd Trick
1- Open command prompt and notepad.
2- Write "ping localhost" without the "" into the command prompt.
3- Copy the IP into the notepad file, hit tab and write localhost
4- Ping the website you want to unblock in the command prompt, as in "ping www.website.com" without the ""
5- Copy the IP of the site into the notepad file, hit tab and write the link to the site, without http://, as in "www.google.com"
6- Hit enter and repeat step 5, should look like this

00.00.0.00 localhost
000.000.00.00 www.website.com
000.000.00.00 www.website.com

7- Save the notepad file into your desktop as "host." with the "", if it wont let you just leave it as host. with the "."
8-Go to My Computer>Your Hardrive>WINDOWS>system32>drivers>ect and drag the notepad file into that folder

1 comments:

Fakayode michael said...

It works.!

Post a Comment

Related Posts Plugin for WordPress, Blogger...
Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
TRICKS AND TIPS CREATED BY SUSHIL UPADHYAY| Grants for single moms