Setting up MAMP Pro 6 on macOS with Domain Name and HTTPS
This guide will teach you how you can access your MAMP Pro localhost remotely. It will teach you how to attach a custom domain name and how to receive a certified SSL certificate. After you followed these steps you are able to self host an Apache webserver and you are able to work on it locally.
This guide assumes ..
- You own MAMP Pro 6
- You use the macOS operating system
(I used macOS Sonoma 14.3.1) - You have a custom (sub)domain name available
- You have access to your router
Find your Local and Remote IP Address
The webserver will run locally (e.g. on local IP address 192.168.0.10
). Meaning you can access the website from within your local area network (LAN) using that address (e.g. https://192.168.0.10
).
Outside of your LAN, the remote IP address is used (e.g. 82.80.250.162
).
To be complete. The default port for websites served over http is port 80 and for https port 443. So the real (local) web address in our example would be https://192.168.0.10:443
…