Adding new HOSTS in Windows Machine

by Vijay 2008-03-13 16:09:21

I faced a problem when i moved my name server, the new name server details was not updated on my ISP.

So when i tried to visit my website, it showed error. So i made a trick by adding the new nameserver IP in the HOST file.

Whenever we type website name , usually it will look for any matching entry in this file and if not found then only it will search in the ISP's Name server and so on..

Whenever we have a entry for specific hosts then when we type that site it will directly point to the IP which we stored in HOSTS file.

We can find this file @


Open the file named hosts and add desired entry for your website.

Sample entry will be

Tagged in:


You must LOGIN to add comments