Created
May 12, 2021 10:07
-
-
Save MostafaNorzade/8f0e10d925d57bf9a23f616bb4d974da to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. upload all files to /home/user/public_html | |
2. edit /var/cpanel/userdata/$username/$domain.com | |
3. change the 'documentroot' path from 'public_html' to 'public_html/public' | |
4. /usr/local/cpanel/scripts/rebuildhttpdconf | |
5. /usr/local/cpanel/scripts/restartsrv_httpd | |
6. /usr/local/cpanel/scripts/restartsrv_apache | |
Done! | |
Check from cpanel > domains > your_domain_Document Root |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment