-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: add "Deployment to Shared Hosting Services" #8554
docs: add "Deployment to Shared Hosting Services" #8554
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, I tested this method in practice, it works well.
@kenjis, thank you for following up.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This method (and a few hacks) worked on 000webhostapp.
https://kenjis.000webhostapp.com/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Description
Checklist: