Hello,
During its installation, Moodle (an LMS platform) asks me to change the root directory from /www to /www/public.
I have shared hosting (personal plan) and if I try to change the root, it is denied.
Is there a solution (or a workaround)?
Thanks!
Gaston
November 2, 2026, 8:06am
2
Hello @danslesvolcans
No problem.
Create the subfolder public in /www
Using FILEZILLA in SFTP mode, drag all the contents of */www into /www/public
In the OVH manager, tab Mes sites modify the root folder to www/public
See the paragraph in my guide: E - Installation du logiciel FTP FILEZILLA
Here is a short guide I wrote that might provide clarification for a Installation complète et propre de votre Site .
Guide - Comprendre la Relation Domaine > Zone DNS > Hébergement > Dossier du site
See --> CMS - WordPress - Guide Installation chez OVH
Read and verify your situation by following attentively the sections: A to J valid for all CMS
Feel free to give me feedback: positive or negative.
Gaston
November 2, 2026, 8:51am
3
Hello @danslesvolcans
I forgot to mention that my previous answer only applies if your Moodle tool performs its updates on the OVH hosting in FTP or SFTP mode.
I couldn't modify the root folder; it refuses me.
I worked around the issue by creating a subdomain that points to /www/public
Thanks again for your response.
Gaston
November 4, 2026, 6:22pm
6
Hello @danslesvolcans
This is an issue with OVH
Submit a ticket
Gaston
November 4, 2026, 7:52pm
7
I'll add:
Post this ticket number on the forum (in case a member of the OVH Team stops by)
then:
Call OVH customer support at +33 9 72 10 10 07.
Preferably between 8 a.m. and 9 a.m. in the morning, or around 3 p.m. when the wait is shorter.
Or on Twitter @ovh_support_fr or #OVHcloudsupport
Hi @danslesvolcans
Take a look at this doc:
https://docs.ovhcloud.com/en/guides/web-cloud/web-hosting/my-websites-modify-root-folder
If you installed Moodle via a one‑click module or have a Git integration, the system blocks modifications to the root folder to avoid breaking the association.
The subdomain solution avoids touching the main domain’s root and creates a new independent entry point
Let us know, cheers.
Sergio Turpín