Created
November 20, 2013 21:19
-
-
Save drakakisgeo/7571234 to your computer and use it in GitHub Desktop.
Change DocumentRoot in cpanel for a Laravel project
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 document root path from public_html to public_html/public | |
4. /scripts/rebuildhttpdconf | |
Done! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
service apache2 restart (may be needed if its not working for you)