How to update apache configuration file on cpanel server?

If you are making any changes directly in the apache configuration file on cPanel servers then please don’t forget to run the apache distiller to update the template, userdata and apache configuration data files. Otherwise, the changes will get revert back in next apache update.

For example, if you are editing virtualhost entry of any domain then use
the following command to update the userdata.

/usr/local/cpanel/bin/apache_conf_distiller –update

Get Free cPanel Knowledge Base

Thank you for subscribing.

Something went wrong.

0.00 avg. rating (0% score) - 0 votes