How to change default document root of Cpanel account in EA4

In EA4 CPanel has deprecated /usr/local/cpanel/bin/apache_conf_distiller –update, so in order to make manual changes, please follow the below steps:

Step 1: Login to the server though SSH
Step 2: Change the Document root in the below pasted files:

You can use the following command to edit vi /var/cpanel/userdata/tech/  or vi /var/cpanel/userdata/tect/techflavourz.com_SSL

Step 3: /scripts/rebuildhttpdconf
Step 4: service httpd restart

If you need any further assistance contact me @ [email protected].. prefer hangout ?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.