How to change the main domain’s Document Root?
I have an user who is trying to migrate his wordpress website to su.domains.
His main domain HOME directory is HOME/public_html.
He migrated his WP website under HOME/public_html/web folder.
I asked him why don’t you just move all the web subdir under public_html. He said it doesn’t work if he move it public_html. My guess it must be something stored in DB or somewhere.
He seems to know what he is doing since he migrated manually to devtest.theword.su.domains and works fine. His devtest.theword.su.domains has the RootDIR set to devtestserver/web.
Googling found this link (https://www.interserver.net/tips/kb/change-primary-domain-document-root-cpanelwhm/) . However, i am not sure it is a right thing to do without any consequence to the future upgrade and messing around with the SSL cert provisioning.
I am not sure what is the best way to change his main domain (theword.su.domains) document root from public_html to public_html/web.
Let me know if there is an easy and best way to accomplish the user desire. Or, How we can help the user to migrate their WP site using c-panel/Installatron. This will ensure that we can force the update.