Answer the question
In order to leave comments, you need to log in
How to set domains for sites in MAMP?
Good afternoon
. I use MAMP Pro as a web server on my Mac locally.
All domains that are created in MAMP are available by default at the URL localhost:8888/site.loc
What do I need to do to start working with addresses like site.loc
I understand that this is a noob question, but I would be very grateful if you could describe in detail step by step what needs to be done
Answer the question
In order to leave comments, you need to log in
Everything is easy, but I don't remember how
1) Googled how to disable apache inside macOS, because I don't remember the commands. After that, it seems like you need to restart the Mac.
2) It is necessary to register in the hosts url, which you reserve for your project
3) It is necessary to find the line in mamp/conf/apache/httpd.conf
Include /Applications/MAMP/conf/apache/extra/httpd-vhosts.conf
and uncomment Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question