Access multiple MAMP Pro sites over a local network?

I develop my websites on Mac 10.8.3 using MAMP Pro 2.1.1.

I create a host for each project. Works great on my local machine. However, now I need to make it available for my iPad and other devices on our local network.

I searched and Googled, and tried to follow the steps found here , to no avail.

iPad can access the main "localhost" on MAMP by simply entering the Mac IP address in Mobile Safari. So he can see the MAMP.

The problem is accessing one of the other virtual hosts. For example, I create a virtual host "myhost" that sets the IP to the Mac IP address and port to 8050.

But the iPad will not load it. I tried setting permissions for the site for each read / write. I tried working both www / mysql and myself (by default).

What am I missing?

+5
source share
1 answer

I think you need to edit the hosts file on your device or try to use localhost for all websites and split them into apache ports, if possible.

0
source

All Articles