title: MAMP | localhost:8888 | two sites using Coda 2
body: <p>I freely admit I must have made an error setting up my first site on MAMP, but I can't find it anywhere.</p>
  
  <p>For some time, I have had a PHP/AJAX site called Tag drawing data from a local database via MAMP. The files are all in a folder called Tag which is located within MAMP's htdocs folder. Yet when I connect to the files via my browser, I type in <a href="http://localhost:8888/tag.php" rel="nofollow">http://localhost:8888/tag.php</a> and not <a href="http://localhost:8888/Tag/tag.php" rel="nofollow">http://localhost:8888/Tag/tag.php</a>. </p>
  
  <p>Now I would like a second site called finances to run off my local DB and server. I've set up a folder in MAMP's htdocs as before, called /finances/. And I've specified my site in the same way (using Coda 2) as I specified Tag, i.e. setting the Remote URL as <a href="http://localhost:8888/finances" rel="nofollow">http://localhost:8888/finances</a> instead of <a href="http://localhost:8888/Tag" rel="nofollow">http://localhost:8888/Tag</a> and setting the local root for convenience of folders/files (that part works fine).</p>
  
  <p>Now neither Coda nor my browser can find anything like <a href="http://localhost:8888/finances.php" rel="nofollow">http://localhost:8888/finances.php</a> or <a href="http://localhost:8888/finances/finances.php" rel="nofollow">http://localhost:8888/finances/finances.php</a>. It's because the definition of <a href="http://localhost:8888/" rel="nofollow">http://localhost:8888/</a> seems to include the folder Tag. But how did I do this? And how do I undo it? </p>
  
  <p>I've looked through all the settings I can think of. If anyone knows please help!</p>
  
  <p>Thanks</p>
  
  <p>Emma</p>