How to use custom DNS with MAMP

Developing websites locally on MAMP

MAMP is a great tool for developing websites on your local computer running MacOS, using Apache, MySQL and PHP. It gets the job done, and MAMP Pro makes it easy to manage multiple hosts.

But what if you you want to test your website on your phone or laptop running Windows 10 before publishing the content to your live website?

The answer here is custom DNS on your local network, and NAMO is a great compliment to MAMP. What follows is a guide on setting up your custom DNS on MacOS, iOS, and Windows 10.

Custom DNS on MacOS Big Sur

  1. Download and install NAMO. If MAMP is already open and running, NAMO will automatically import all of your existing hosts. If you aren't running MAMP, click the + to add a new domain.

  2. Take note of the local IP address. In this case, it's

  3. Open the Network settings within System Preferences

  4. Select Wi-Fi and click the Advanced button.

  5. Select the DNS tab of the Advanced Network settings.

  6. Click the + to add a new IP address for DNS.

  7. Add the IP address noted earlier. In this case, we have

  8. Click "OK" and then "Apply".

Custom DNS on iOS 14

  1. Tap Wi-Fi within iPhone Settings

  2. Tap the "i" icon next to the network you are currently connected to.

  3. Tap "Automatic" next to "Configure DNS"

  4. Tap "Manual", and add the custom DNS IP. In this case we have Then tap "Save".

Custom DNS on Windows 10

  1. Right click the Network icon in the tool bar and click "Open Network & Internet settings"

  2. Click "Network and Sharing Center"

  3. Right click the network you are currently connected to and select "Properties".

  4. Click "Change adapter settings"

  5. Click "Internet Protocol Version 4(TCP/IPv4), and then click the "Properties" button.

  6. Select "Use the following DNS server address", and then enter the custom DNS IP. In this case we have

Is there an error, or incorrect information in this post? Let me know!