Monday 17 September 2012

Loading

How To Redirect Websites In Windows

Modifying HOSTS file in Windows presents another utility to users by Redirecting URLs to different Websites. Let's say opening www.google.com leads to www.facebook.com .The following steps will guide you to this simple Windows trick

Step 1
Go to Start button and in the search box type Notepad .




Step 2
Right click on Notepad and click Run as administrator. 
















   

Select the File option from menu bar and click Open or use Ctrl + O .










Step 3
Now browse to host file which is located in  (C:\windows\system32\drivers\etc).The folder will be empty as it’s only showing *.txt files. In the bottom right of the folder click the drop-down menu and select > All Files











and double click on hosts to open it .


Step 4
Now you will see a new notepad window on your screen containing some obscure information.



Step 5
Here you have to keep two things in your mind :
  • The Name of the website you want to redirect.
  • The IP Address of the website you want to redirect to .

I think it looks so complicated. Lets take an eg: if i want to redirect the address example.com To Google.com , i have to create an entry in the hosts file of windows with IP Address of Google.com its look something like this

74.125.236.14  www.example.com


So if you want to Redirect any URL to other website.You must have the IP Address of that website. 

RelatedHow To Determine The IP Address Of Any Website

Step 6
After editing , your hosts file look like this 


                                                        Enter the correct IP Address in front of the URL and you are all set. Just save the file and restart your web browser and the above mentioned website will redirect to the IP Address you are using in front of it .



No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...
Follow Us