Quote From : nikita May 7, 2026, 11:42 am
Instead of installing to a subfolder (site2), create a subdomain (e.g., newsite.yourdomain.com) and point its Document Root to a new, empty folder outside of public_html (e.g., /home/user/newsite_files). This isolates the two installations entirely and satisfies the Moodle 5.1 requirements.
Hello,
On cPanel, when creating addon domains, cPanel automatically creates a subfolder for that domain inside the public_html folder. This is default cPanel behaviour.
When choosing to install moodle, we have to choose a domain name we want to use with it. We obviously choose the addon domain name but not the subfolder(subdomain) itself that is created.
Softaculous should handle this step without issues so the current script is failing to handle this new version 5 setup.
However, in saying all this, your suggestion requires more information to us readers. You said "and point its Document Root to a new, empty folder outside of public_html (e.g., /home/user/newsite_files). This isolates the two installations entirely and satisfies the Moodle 5.1 requirements."
It would help if you could explain how we can set this up so that the Document Root is pointing to a folder outside of the public_html.
Some people don't know how to do that.
|