- Home
-
Store
- Browse All
- -----
- AntiSpam Solution
- Windows VPS Plans
- Linux VPS Plans
- Windows Shared Hosting
- Linux Shared Hosting
- Reseller Hosting Plans
- Add-On Services
- Windows Cloud Hosting
- Linux Cloud Hosting
- Public Cloud Hosting
- AccuSends - Email Marketing
- WordPress Hosting
- Register a New Domain
- Transfer Domains to Us
- Announcements
- Knowledgebase
- Network Status
- Contact Us
When cPanel is updated or Httpd service is restarted using WHM, the custom changes made in the Apache configuration file directly won't work because cPanel looks the new values in the file /var/cpanel/conf/apache/local.
However, you can still make the changes directly in the Apache configuration and run the following distiller commands to save the changes. In order to make the changes permanent and make sure the changes don't get overwritten on the next cPanel update / WHM restart, execute the following commands:
# /usr/local/cpanel/bin/apache_conf_distiller –update –main
# /usr/local/cpanel/bin/build_apache_conf
# /scripts/restartsrv httpd
Related Articles
- 2 Users Found This Useful