Local Facebook Phishing WebPage-change the name of your localhost

This post is not about hacking. It just windows tweak or trick.
Just change your localhost name and enjoy it.

You have to well know about this:
How to use wamp/xamp server.
What is localhost.

It is very simple to follow. This is for windows users only.

Steps to follow:
1.Go to C:WINDOWSsystem32driversetc
2. Find the file named


3.Open the file with notepad.
4.you can see there like this: localhost

5.Change the localhost to anything you like.
For ex: you can change it to “www.facebook.com”.
6. save the file

Now start the wamp or xamp server and enter the www.facebook.com in browser
you will see the localhost homepage.

Why not?-You can hack your friends.
I have told that this is not hacking trick. But you can use this also for hacking your friend/lover.(in tamil “siru thrumpum pal kutha uthavum”, i don’t know how to say it in english)

Do you know how?
As i said change the localhost to www.facebook.com.
change your localhost homepage as facebook or gmail phishing web page.
So now the local phishing webpage is ready to hack your friend/lover/spouse(sounds crazy ?)
if he enter the www.facebook.com in your pc. He can see your local phishing page only.
so their passwords is in your hands.
Try some “under construction ” or anyother error message so that they will not suspect you.

Actually i just give idea only. If you think that you can become funny and best hacker,then add your own ideas and hack them.

For Ubuntu Users,please read this:

How to change the localhost name in Ubuntu Linux?

Don’t try to copy the contents! if you want to post in your website or blog.  Give me link as resource to this page.  Link should be hyperlink not a text.
Thanks for the help