Manually changing httpd.conf on a cPanel Server
Warning:
If you must modify your httpd.conf
Apache configuration file directly, perform the following steps:
- Make the necessary changes to your
httpd.conf
file.
-
Run the Apache configuration distiller script as the root
user with the following command:
/usr/local/cpanel/bin/apache_conf_distiller --update
|
-------------------------
The Apache configuration distiller script does not make changes to your Apache configuration. The distiller script updates the datastores in the/var/cpanel/userdata
directory.
The Apache configuration distiller script does not guarantee that cPanel & WHM will not overwrite your direct modifications to your httpd.conf
file.
To test whether cPanel & WHM will overwrite your modifications, perform the following steps:
- Create a copy of your
httpd.conf
file with your direct modifications.
- Run the
/scripts/rebuildhttpdconf
script to rebuild your httpd.conf
file. If your changes are still present in your httpd.conf
file, then cPanel & WHM will not overwrite your modifications.
Related Articles
cPanel to cPanel Transfer
1 ) Login to the source cPanel Server WHM & SSH 2 ) List all accounts that you wish to transfer (Make note of usernames) 3 ) Login to the destination cPanel Server WHM & SSH 4 ) Ensure SSH is allowed between both servers. (iptables, configserver, ...
cPanel AutoSSL
We have seen reports indicating that AutoSSL can reconfigure the cPanel email manual setup instructions, specifically Auto-enabled Mail SNI. Any client who once had their SSL/TLS SMTP/IMAP server set to the server's service domain, and did not have ...
easyapache configuration on cpanel/whm server
EasyApache Overview EasyApache is a powerful and simple-to-use script that you can use to update and configure your Apache web server. To configure EasyApache on WHM/cPanel 1. Login to WHM 2. Either search for "EasyApache" or go to Software > ...
DKIM Cpanel
DKIM DKIM helps verify the sender and integrity of a message. It allows an email system to prove that a message was not altered during transit (meaning it is not forged), and that the message came from the specified domain. To enable DKIM within ...
Manually Resetting Wordpress Password
In WordPress, there is more than one way to set your password. In normal circumstances, you can do it through the WordPress interface. If you forget your password, WordPress has a built in recovery mechanism that uses email. But on some hosts, ...