Access MAMP sites over Local Area Network

Project Overview

Sage

I spent a bit of time looking for a useful answer to this.

The problem:

I want to share a website published using MAMP on my local machine with other people in the office. I have more than one virtual host set up in MAMP so simply using the machine’s IP address and port (usually 8888) won’t work.

The solution:

  • In the settings for the site, change the IP address to the local machine’s IP.
  • Give it a port number that isn’t the default.
  • Click Apply.
  • That should be it!
  • From another device on the same network type http://{MAMP machine IP}:{port number you set}

Thanks

I nearly got there with this article: http://benjaminrojas.net/view-mamp-virtual-hosts-on-your-ipad-and-iphone-over-the-local-network/ but needed to change the port number to make it work.

 

Project Details

Sign up for updates


powered by MailChimp!

Like what you see?

We've built literally hundreds of websites over the years, including work for London Local Authorities, Nestle, B&Q, Avid, Orange,Toyota, Barclays and Sainsbury's along the way. If you like what you see here, or want to know more, then please get in touch.

Contact us

Other Recent Projects

WordPress website for young racing drivers

Find out More

Joomla eCommerce website

L'Ami JAC

Joomla eCommerce website for French wine importers

Find out More

Pippa Paton

Responsive website in WordPress for interior design company

Find out More