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.

/scripts/rebuildhttpdconf

 

Something more about cPanel, See the category CPANEL

Arunlal Ashok

Linux Server Administrator. I'm dealing with Linux servers since 2012. I started this blog to share and discuss my ideas with the world. Check My Profile!! in uPwork (oDesk) and let me know if you need any assistance. Thanks!!

You may also like...

2 Responses

  1. reza says:

    hi
    i use that command and get this resualt:

    [email protected] [/usr/local/cpanel/scripts]# /scripts/rebuildhttpdconf
    info [rebuildhttpdconf] Missing owner for domain domain.com, 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 *