Created
April 10, 2018 15:01
-
-
Save tdurrenberger/1ce142477dd7a4fb0d3aad9424efe35d to your computer and use it in GitHub Desktop.
CPanel / WHM - Host a Symfony App
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
# | |
# edit apache config | |
# add /web at the end the documentroot parameter | |
# like documentroot: /home/[domain user]/public_html/web | |
# | |
nano /var/cpanel/userdata/[domain user]/[your domain.com] | |
nano /var/cpanel/userdata/[domain user]/[your domain.com]_SSL | |
# delete cache file | |
rm -vf /var/cpanel/userdata/[domain user]/[your domain.com].cache | |
rm -vf /var/cpanel/userdata/[domain user]/[your domain.com]_SSL.cache | |
/scripts/updateuserdatacache | |
/scripts/rebuildhttpdconf | |
restart httpd.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment