My understanding is you would need to setup virtual hosts in Apache on your local machine to handle the additional site. There are a few steps in the process, and I found a pretty good tutorial walking through everything but the specific virtual host configuration:
https://john-dugan.com/wamp-vhost-setup/
Here is a second tutorial showing you how to configure the virtual host in windows now that you have it setup:
https://foundationphp.com/tutorials/apache_vhosts.php
Cheers!
]]>The way I understand it, all I need to do is to point the MAMP server to the new folder (C:\MAMPS\htdocs\folder. But when I do that, I get the “cannot establish the connection to the database” error.
]]>This worked.
Can someone explain why this is so? I would like to understand for future.
Thank you.
]]>