title: Mamp localhost resolving very slowly
body: <p>When I make local changes to my PHP / WordPress website, the localhost does not seem to update for 20-30 minutes.</p>
  
  <p>I'm on Mac OSX 10.8.4 and using MAMP Pro. I have two sites that I have created separate host entries for, let's call them <code>mysite1.dev</code> and <code>mysite2.dev</code>. </p>
  
  <p>Here is my MAMP Server configuration:</p>
  
  <pre><code>Apache: 80
  MySQL: 3306
  SSL: 443
  </code></pre>
  
  <p>I saw this article ( <a href="https://stackoverflow.com/questions/10064581/how-can-i-eliminate-slow-resolving-loading-of-localhost-virtualhost-a-2-3-secon">How can I eliminate slow resolving/loading of localhost/virtualhost (a 2-3 second lag) on Mac OS X Lion?</a> ) on the Bonjour conflicts and edited my <code>/private/etc/hosts</code> file with the suggestions in this article:</p>
  
  <ol>
  <li>I changed the host names from <code>mysite1.localhost</code> to <code>mysite.dev</code> because it sounds like the conflict is with <code>.local</code> names - DID NOT WORK
  <br><br></li>
  <li><p>I updated the Hosts file to have separate <code>::1</code> addresses - DID NOT WORK:</p>
  
  <pre><code>::1 &lt;tab&gt; mysite1.dev
  ::1 &lt;tab&gt; mysite2.dev
  </code></pre></li>
  <li><p>I tried putting all of my host entries onto one line - also didn't work:</p>
  
  <pre><code>127.0.0.1 localhost mysite1.dev mysite2.dev
  ::1 localhost
  fe80::1%lo0 localhost
  </code></pre></li>
  </ol>
  
  <p>It seems like MAMP Pro overwrites the hosts file any time I restart the server.
  <br><br>
  I would be SUPER grateful for any help you can offer.</p>