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:
/var/cpanel/userdata/Cpanel_username/domain.com
/var/cpanel/userdata/Cpanel_username/domain.com_SSL
example:
/var/cpanel/userdata/tech/techflavourz.com
/var/cpanel/userdata/tect/techflavourz.com_SSL
You can use the following command to edit vi /var/cpanel/userdata/tech/techflavourz.com 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 ?