<p>Why not use MAMP Pro to define seperate local url's for your projects? Or use something like Virtual Host X.</p>

<p>This way you can define some made up url like: yourporoject.dev and point that url to the public folder of your project.</p>

CC BY-SA 3.0
2016-10-14T12:44:47.837Z
2016-10-14T12:44:47.837Z
KSPR
<p>So I usually have multiple sites inside of my MAMP htdocs folder which I then access through <code>localhost:8888/sitefolder</code>. How would this work for a Craft set up? The only way I got my initial Craft site to work was to point MAMPs document root to the public folder of the Craft site I was working on. But this seems pretty messy if I was to be working on multiple Craft sites at once. Surely I wouldn't need to keep changing my MAMP settings every time I wanted to look at another dev site? </p>

CC BY-SA 3.0
2016-10-14T03:26:37.957Z
I assume this is for MAMP and not MAMP Pro?  Have you seen things like https://una.im/2013/08/13/the-absolute-beginners-guide-to-setting-up-craft-on-mac/# and https://a73cram5ay.blogspot.com/2015/04/installing-craft-cms-on-mac-os-x-using.html ?
Brad Bell
<mamp><setup>
localhost and root directory for multiple site installs
# localhost and root directory for multiple site installs

(Asked by: username_0 on 2016-10-14)

So I usually have multiple sites inside of my MAMP htdocs folder which I then access through `localhost:8888/sitefolder`. How would this work for a Craft set up? The only way I got my initial Craft site to work was to point MAMPs document root to the public folder of the Craft site I was working on. But this seems pretty messy if I was to be working on multiple Craft sites at once. Surely I wouldn't need to keep changing my MAMP settings every time I wanted to look at another dev site?

**Tags:** mamp, setup
> **Comments:**
> **username_1**: I assume this is for MAMP and not MAMP Pro?  Have you seen things like https://una.im/2013/08/13/the-absolute-beginners-guide-to-setting-up-craft-on-mac/# and https://a73cram5ay.blogspot.com/2015/04/installing-craft-cms-on-mac-os-x-using.html ?  

---

## 1 answers

### Answer by username_2 on 2016-10-14. Score: 1 | Accepted answer

Why not use MAMP Pro to define seperate local url's for your projects? Or use something like Virtual Host X.

This way you can define some made up url like: yourporoject.dev and point that url to the public folder of your project.


---

