The selected folder is a sub-folder of another host's document root...

All MAMP discussions around troubleshooting and anything related to MAMP. Be as detailed as possible here when posting an issue.
Post Reply
mampsupportmod
Site Admin
Posts: 161
Joined: Wed Jan 20, 2021 3:06 am

The selected folder is a sub-folder of another host's document root...

Post by mampsupportmod »

I think there's a bug - selecting 2 hosts for same document root has never been an issue. In order to back out of this error message, you need to manually remove the host and re-add it.


The selected folder is a sub-folder of another host's document root ,or identical to another document root! This is not allowed.

Selected Folder Is A Sub Folder Root Mamp
Selected Folder Is A Sub Folder Root Mamp (19.92 KiB) Viewed 19628 times
MAMP Support Forums is an unofficial support forum covering MAMP & MAMP Pro solution stacks.
stephangrass
Posts: 2
Joined: Thu Nov 03, 2022 11:46 am

Re: The selected folder is a sub-folder of another host's document root...

Post by stephangrass »

I don't understand how to bypass the error. Every time I want to add another host to an existing Document root, the error appears.

Can somebody give me a tip with that?

Thanks
Stephan
treehillstudio
Posts: 1
Joined: Sun Dec 25, 2022 1:11 pm

Re: The selected folder is a sub-folder of another host's document root...

Post by treehillstudio »

It is possible to use the same document root with multiple hostnames. This can be done via the "Aliases" option in the "General" section.

Unfortunately, I didn't get a tip in the right direction from MAMP PRO support or via a Google search.
Post Reply