title: Accessing local sites in a vm (vmware fusion, virtualbox, etc)
body: <p>I have a few sites running on my OS X machine.  Since they need to use SSL, each site listens on a different IP address (127.0.0.2, 127.0.0.3, 127.0.0.4).  I use nginx if it matters.</p>
  
  <p>On OS X, I edit /etc/hosts and have dev.domain1.com point to 127.0.0.2, dev.domain2.com point to 127.0.0.3, etc.</p>
  
  <p>I need to tests my sites in IE -- so I run Windows in a VM.</p>
  
  <p>How can I setup the Windows VM so that dev.domain1.com, dev.domain2.com points to 127.0.0.2, 127.0.0.3 on the OS X machine?  </p>