How to create virtual hosts in MAMP?

后端 未结 6 1142
我寻月下人不归
我寻月下人不归 2020-12-05 00:35

I am new to Mac but used Ubuntu for development for a long time. I know how to create virtual hosts in Ubuntu but have no idea about Mac. I have created a hosts

6条回答
  •  粉色の甜心
    2020-12-05 01:17

    In my config in MAMP, only the first virtual host was responding.
    After hours of search I founded the instruction for solving the problem (before listing virtual hosts definitions) :

    NameVirtualHost *:80
    

    Now, my 3 virtual hosts are working !

提交回复
热议问题