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

,

Post navigation

Arunlal Ashok

Operations Engineer at Endurance International Group. Linux lover. Like to play on Linux console. I started this blog to share and discuss Linux thoughts.

Always happy for an open discussion! Write to arun (@) crybit (dot) com. Check about me for more details. About this blog and our strong members, check The team CryBit.com
We like to travel. Our travelogues are published at Trip Mentor

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

  1. 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 *