I have a WordPress network installed locally and use MAMP Pro to run a server. I would like to view all the sites from another computer or device in the same LAN.
Is there a clean and simple way to do this?
I have MAMP setup so that it goes the a folder called Sites. In that folder each project has its own folder. Some projects are just simple HTML and CSS. I can view them just fine from my iPad. One project is a WordPress installation, and I can't load that folder. My guess is it's something about MySQL and a different IP trying to access it.
The key to making this work is changing your WordPress and Site URLs to your IP address + MAMP port in the WordPress Dashboard in Settings > General.
For example, if those URLs are currently localhost
, you would instead set them to mysite.local:8888
.
Just remember to change those URLs back to their correct values if/when you move your WordPress installation to another server.