How to rebuild the “httpd conf” file in cPanel server – Command-line option

If your httpd.conf file got corrupted, then you can use the following command to rebuild it.



Something more about cPanel, See the category CPANEL

Arunlal Ashok

DevOps (Server & Cloud infrastructure) Engineer. I'm dealing Linux servers since 2012. I started this blog to share and discuss my ideas. Always happy for an open discussion! Write to arun (@) crybit (dot) com

You may also like...

2 Responses

  1. reza says:

    i use that command and get this resualt:

    root@premium [/usr/local/cpanel/scripts]# /scripts/rebuildhttpdconf
    info [rebuildhttpdconf] Missing owner for domain, force lookup to root
    Built /usr/local/apache/conf/httpd.conf OK

    is this OK ?

Leave a Reply

Your email address will not be published. Required fields are marked *