Page 1 of 1

How to edit the hosts file in windows and make that resolve

Posted: Sat Nov 24, 2012 8:09 am
by a24uall
How to edit the hosts file in windows and make the domains resolve from locally specified Ip address.

Open the below file in notepad
C:\WINDOWS\system32\drivers\etc\hosts
Add the entry as mentioned below :
NEW_IP_ADDRESS domain.com
NEW_IP_ADDRESS www.domain.com