Allow change of document root where App is installed
If you try to change a domain document root where an app is installed, you get the error: It is impossible to change document root because there are web applications installed on this website.
This is inflexible. If I create a staging development subdomain and install an App, and then point the main domain to the same directory, I can't remove the subdomain, even though the app is no longer used there:
- dev.mydomain.com, Document root: /mydomain.com
- www.mydomain.com, Document root: /mydomain.com
I should be able to change the development subdomain root, even though the app was installed there. This will let me safely remove the subdomain.
We recommend to use following staging method without using the same root directory https://docs.plesk.com/en-US/obsidian/customer-guide/websites-and-domains/extended-website-management/working-with-a-staging-site.66505/
We do not plan to change the behavior of the product due to the use of a non-standard staging method.
—
IG
-
Steve Cooke commented
Security changes to Magento in version 2.4.2 require the Document Root for our domain to point to the httpdocs/store/pub directory. We cannot change it. Plesk says "It is impossible to change document root because there are web applications installed on this website." The only web application we have installed is Magento 2.1.