title: Access my MAMP websites (plural) locally from my iphone
body: <p>I have created a few websites locally on my mac using MAMP PRO as my local server environment.</p>
  
  <p>I can access these on my mac as I have the opion of adding a local domain (in MAMP PRO) using "local name resolution"</p>
  
  <p>But... I don't know how to access my sites from my iphone which I need to do to test.</p>
  
  <p>If I put my local IP in (on my iphone) I get the MAMP holding page:</p>
  
  <blockquote>
    <p>The virtual host was set up successfully.</p>
    
    <p>If you can see this page, your new virtual host was set up
    successfully. Now, web contents can be added and this placeholder
    page1 should be replaced or deleted.</p>
    
    <p>Server name: localhost Document-Root: /Applications/MAMP/htdocs</p>
  </blockquote>
  
  <p>So I know that works but how do I access my indevidual sites.</p>
  
  <p>The location and structure of my sites are like this:</p>
  
  <pre><code>/Users/myusername/Sites/vhosts/site1/public_html
  /Users/myusername/Sites/vhosts/site2/public_html
  /Users/myusername/Sites/vhosts/site3/public_html
  /Users/myusername/Sites/vhosts/site4/public_html
  </code></pre>
  
  <p>Could this be to do with the <code>localhost Document-Root</code>? I noticed it was <code>/Applications/MAMP/htdocs</code></p>
  
  <p>Should I change that or change the location of my sites to be in <code>/Applications/MAMP/htdocs</code>?</p>
  
  <p>Thanks
  C</p>
  
  <p>UPDATE:</p>
  
  <p>Ok, so I changed my <code>Document-Root</code> to <code>/Users/myusername/Sites/vhosts/</code> which now allows me to load the site localy in my browser with <code>192.168.1.134/site1/public_html</code></p>
  
  <p>BUT.. when I load <code>192.168.1.134/site1/public_html</code> from my iphone (on the same wifi network) I get the page title but the page doesn't load. Just hangs!</p>