Subscribe (RSS)
From twitter: @goobimama Huh?
October 22nd, 2007

Dirty little Windows Trick

We all have friends. We all love to play pranks. But very few of us actually play pranks on our friends. Here’s a nifty little Windows trick that could easily land people in trouble.

What this trick basically does is, when a person tries to access any particular site via the browser, the browser will instead show up a website specified by you. Say your friend is a frequent visitor to orkut.com. You can very well do some magic so that instead of orkut.com, xxx.com opens up ( No, not xxx.com, I just mean any x site. :D )

This is really a great trick to do in the college/school labs, friends PC or even trick your family. Be careful where you are redirecting users to :P

Requirements:

  1. Windows Administrator privileges
  2. IP of the site you want to redirect the people to
  3. Notepad

First, goto Start >> Run and type in cmd and press enter. In the command prompt, type ping domain.com where domain.com is the site you wanna redirect people too. For eg: google.com or simply use 64.22.110.209

Note down the IP address.

Now, open Notepad and click on File >> Open and navigate to the following path

C:\Windows\System32\drivers\etc

and open the file name hosts

Now, add the following line at the end of the file.

64.22.110.209 orkut.com

( Replace the IP with any IP you like and the domain with any domain you want )

Save the file and exit.

Restart your browser.

( A lot of my readers already knew about it. I knew too. Its just for those who didn’t :| )

[Update]

I forgot to mention that this can also be used to block access to a certain website.

Just add the following line, instead of the one above..

127.0.0.1 sitename.com

Six Responses

  1. neelakantankk

    Sigh. :-< I’ve left school. I’m going to miss screwing up the comps in the lab. :-<

    Oct 22nd, 2007 at 10:55 pm
  2. Preshit

    Aren’t you in college ?

    Oct 22nd, 2007 at 11:09 pm
  3. neelakantankk

    Yes but Since I’m doing my BA English so I don’t visit the comp lab much. :|

    Oct 23rd, 2007 at 12:34 am
  4. Munim

    muhahaha! in a few days, all my friends will be _forced_ to visit my website! the only way out is to use the google adsense search links ad box! $$$
    too bad adsense won’t accept my site though..

    Oct 23rd, 2007 at 8:50 pm
  5. Preshit

    No Munim. It has to be a site with a dedicated IP. Meaning, it has to be a site which you can access directly with an IP.

    Oct 23rd, 2007 at 8:53 pm
  6. Munim

    hmm.. that wouldn’t be too hard.. i have a dedicated server for some project.. but don’t think the guys will let me use it for my evil plans :-(

    Oct 23rd, 2007 at 9:13 pm

Leave a Response


ss_blog_claim=4898748a3dc88ff15df4a583c05727df