docs: add "Deployment to Shared Hosting Services"#8554
docs: add "Deployment to Shared Hosting Services"#8554kenjis merged 1 commit intocodeigniter4:developfrom
Conversation
|
|
||
| For example, if you use cPanel, see: | ||
|
|
||
| - `How to change the document root of the primary domain <https://support.cpanel.net/hc/en-us/articles/360055211213-How-to-change-the-document-root-of-the-primary-domain>`_ |
There was a problem hiding this comment.
There was a problem hiding this comment.
How do I log in to my cPanel account as root? – cPanel
https://support.cpanel.net/hc/en-us/articles/360051754554-How-do-I-log-in-to-my-cPanel-account-as-root
There was a problem hiding this comment.
Perhaps we are not normally allowed to log in as root. If so, this method is not generally available.
In that case, it should not be mentioned in the documentation.
There was a problem hiding this comment.
I had a call with the hosting company.
The possibility of logging for shared hosting users is provided only through cPanel NOT WHM.
Regarding the change of Document Root, Answer was, considering that the host is shared, it is NOT possible to change the Document Root.
And from https://docs.cpanel.net/knowledge-base/accounts/how-to-log-in-to-your-server-or-account/#how-to-access-whm
Note:
In order to log into WHM, you must either be the root user, or a user with reseller privileges.
There was a problem hiding this comment.
@datamweb Thank you for investigation! I've removed the URLs for cPanel.
bde3c36 to
ef7b1e9
Compare
| Check with your hosting service provider to see if you can change the document root. | ||
| Unfortunately, if you cannot change the document root, go to the next way. | ||
|
|
||
| Using Two Directories |
There was a problem hiding this comment.
Well, I tested this method in practice, it works well.
@kenjis, thank you for following up.
There was a problem hiding this comment.
This method (and a few hacks) worked on 000webhostapp.
https://kenjis.000webhostapp.com/



Description
Checklist: