Posted in Web dev on 8th March 2012

View MAMP Pro sites across local network

I think MAMP Pro is a great tool for development if you don't want to go through having to set to vhosts for every project, but I found it annoying that I couldn't view the work on my iPad/iPhone for developing.

I googled, but with no luck. Then the answer popped into my head so I thought I'd share it with the world.

All you need to do is set a port on you site. I tend to create a secondary version point to the same place. So as an example, the main dev site could be Great, works locally and across the network on any machine if I change the hosts file.

Next, I can create a second host and set a port, like this:


A quick visit to from my iPad or iPhone and, hooray, cross platform local development!

Hope it helps others! =]