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
Do you Like this story..?

Get Free Email Updates Daily!

Follow us!

Subscribe Your Email Alerts below

26 comments:

  1. thankyou .good one

    ReplyDelete
    Replies
    1. ya is good but not perfect we want perfect like anoy>>>>>>>>>>>

      Delete
  2. we can unblocked websites & hide your ip address Use Real Hide IP to surf anonymously, prevent hackers from monitoring your on-line activities or identity thieves from stealing your identity and alternative personal information, send anonymous email, and un-ban yourself from forums or restricted websites

    ReplyDelete
  3. I am still not able to unblock the websites by using the above commands...plz help

    ReplyDelete
  4. I am still not able to unblock the websites by using the above commands..plz help

    ReplyDelete
  5. I tried this but my ip showed up as [::1]? It's a school laptop so I dunno?? Any advice?

    ReplyDelete
  6. Thank you so much
    It's really great article

    ReplyDelete
  7. hi ,
    im unable to ping. it will also work if website is blocked from router.

    ReplyDelete
    Replies
    1. Hello Abishek, Can you pls help me with website name !! Let me check and confirm ..

      Delete
  8. i use Unblock-Youtube it's fast , looks good on mobiles and you candownload videos from youtube , vimeo etc..

    ReplyDelete
  9. This trick does not work :( I think instead of free ways why not shell out a little. There're some good cheap services like Hide My IP which offers - full access to all IPs in over 90 cities worldwide, Smart DNS Proxy service, and more.

    ReplyDelete
    Replies
    1. Hello Smantha,

      Pls help me with website name which you tried..!!

      Delete
  10. It's not working. Need the approval of admin.

    ReplyDelete
  11. does this work on network connections, as to affect all pcs?

    ReplyDelete