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:
- Windows Administrator privileges
- IP of the site you want to redirect the people to
- 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

A 21-year-old Blogger, Webmaster, Content-manager, Apple-lover, Mac-user, iPod-listener, Twitter-boy, IT student who loves travelling, photography and adventure sports.






Sigh. :-< I’ve left school. I’m going to miss screwing up the comps in the lab. :-<
Aren’t you in college ?
Yes but Since I’m doing my BA English so I don’t visit the comp lab much. :|
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..
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.
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 :-(