How do i rebuild httpd.conf in cpanel?

f You had your httpd.conf damaged you’ll need a fresh new httpd.conf of apache configuration to be created and if you have CPanel there is a way to recover httpd.conf by CPanel shell Scripts.

Rebuilding httpd.conf Instruction:

Login to ssh with root access,
Just run the following command to rebuild the httpd.conf to the stable file, that will be created with CPanel shell script automaticaly.

/scripts/rebuildhttpdconf
 

When should you Rebuild httpd.conf

You will have to run that command to have your httpd.conf rebuilt if you had edited it in a wrong way that may have caused your apache web server prevent from starting.

  • 0 أعضاء وجدوا هذه المقالة مفيدة
هل كانت المقالة مفيدة ؟

مقالات مشابهة

5 Ways to Get a User’s Disk Usage

This may seem pretty simple, but I see a lot of questions about how to get a user’s disk space...

500 Internal Server Error help

First remember that “Internal Server Error” does not mean a server problem. It implies an...

Adjust Email Quota

If you need to adjust your email mailbox quota, you can do so from within your cPanel account.1)...

Changing an FTP User’s Path

By default, your main FTP (cPanel) user will have and FTP path to the user’s home folder, and...

Common cPanel Commands List

Most Common Linux Cpanel Commands for Server Admins & Cpanel Users .Limit webuser resources...