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.