BLACK FRIDAY DEALS

Knowledge Base

Allows you to search a variety of questions and answers

Search

Search results

Cpanel/WHM

Please find the steps taken for updating the apache configuration file
on a Cpanel server and save those changes even if Cpanel is updated.

1) Modify the apache conf file /usr/local/apache/conf/httpd.conf and add the necessary contents
2) Run apache distiller with the update option as below to update the conf
file: /usr/local/cpanel/bin/apache_conf_distiller --update
3) Open apache conf file again and make sure that the updated contents are still present
4) Restart apache and cpanel

You can also use the following:

I would suggest editing the httpd.conf custom template.
Instructions can be found here:
http://docs.cpanel.net/twiki/bin/vie...3/OutsideVHost

The file which contains the directive is located at:
/var/cpanel/templates/apache2/main.default

See What Our Customers Say

Leave review
J

Johnny

NC, United States

Hi Guys and Gals, I'll just say you all are top notch and go above and behind with support. I'v...

Read full review
R

RAF Website D

Outstanding Customer Service Everytime I have emailed AYKsolutions I have gotten an outstanding resp...

Read full review
K

Kiki

You can trust your business with AYKsolutions After a horrible experience with my prior host that le...

Read full review
J

Jahanzeb

Punjab, Pakistan

Simply the best. have been using them from last 2 years. Remember Dedicated servers are hardware so...

Read full review