- Go to C:\Windows\ System32\ Drivers\ etc\ Hosts
- Open it with notepad.
- Write 220.127.116.11 www.google.com below 127.0.0.1 localhost like that:
Where 18.104.22.168 is IP address of yahoo, you can change it whatever you want. If you are thinking about knowing IP address of any site, then go to command prompt> Type ping site name, for e.g. ping www.facebook.com.
Note: Even you can use it for phishing purpose.