About the cPanel apache_conf Distiller

WHM cPanel LogoI’ve recently had to make modifications to a WHM cPanel powered server which involved direct manipulation to the httpd.conf Apache configuration file.

Now, due to the managed element of WHM cPanel systems, it is very likely that any changes made to httpd.conf will be reverted after an automatic WHM cPanel update. To prevent your httpd.conf file being overwritten, you must make use of the cPanel Distiller.

After making your changes, run the distiller with the following command.

/usr/local/cpanel/bin/apache_conf_distiller --update

This will then ensure that your changes are integrated into the templates which WHM cPanel uses to regenerate the httpd.conf file after an automatic update.

I’ve tested this in CentOS specifically, but it should work in any other operating system, such as Red Hat.

Howdy! My name is Jordan Hall and you’ve reached my website for some reason. Hope you are enjoying it. If you want, I have a few more details about this website. If you are looking for a more professional overview and less general prose, take a look at my biography or my skill and experiences section.

Latest Project

A portfolio of sorts will appear here shortly listing some of the projects I've developed or those I'm currently working on.

For now, take a look at my projects page directly.

Latest Photographs

Some photograph previews will appear here at some point.

Please feel free to take a look at my photographs page.

Latest Comments