When MAMP show this message:

Warning- The built-in Apache is active which can cause a port conflict with at least one of your virtual hosts.

Fix by

sudo apachectl stop