Thursday, December 13, 2012

hosts file

C:\Windows\System32\drivers\etc\ is where your host file lives. Run notepad as administrator and then open this file to force DNS to resolve for a particular A record to a particular IP (like, for example, the local IP of your laptop) like so:

10.152.6.108   support.tom.com

 
 

This is often vital for prepping web sites to run locally in IIS.

No comments:

Post a Comment