title: Can the hosts file redirect an IP address?
body: <p>I have cloned a Windows 2003 machine and put it on the same domain as the original.</p>
  
  <p>I want to make sure that the clone never accesses the original. I want it to think it is the original. I don't want to exhaustively check the clone for everything that might reference the name or IP address of the original and change to the name or IP address of the clone.</p>
  
  <p>Will I get what I want if I add the following two lines to the hosts file on the clone?</p>
  
  <pre><code>127.0.0.1   originalname   #divert attempts to access the original machine
  127.0.0.1   192.168.1.2    #divert attempts to access the original machine
  </code></pre>
  
  <p>originalname is the name of the original machine.
  192.168.1.2 is the IP address of the original machine.</p>