How to rebuild the httpd.conf file for your linux cPanel VPS / Dedicated

If you are facing some apache errors, or if you know that your httpd.conf file has been corrupted you can rebuild it from a SSH prompt by running the command below :

/scripts/rebuildhttpdconf

You can see how to connect in SSH from the following tutorial : How to connect to your server in SSH

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Refresh your cPanel License

If you have purchased your linux VPS along with a cPanel license. Your license won't be active...

How To Clean your cPanel Logs Files in One Go

This tutorial is meant to provide a shortcut to clean your log files in a cPanel Dedicated Server...

How To Update cPanel From SSH or GUI

In order to update the cPanel software on a Linux VPS, there is 2 ways to do it. Upgrading the...

How To Backup / Restore / Export your CSF Firewall Configuration

Whenever you want to deploy a new Linux VPS / Dedicated server, you generally have to set and...

How to Install the CSF / LFD Firewall on your VPS / Dedicated Server

Throughout this guide, you'll learn how to install your own Firewall on your linux VPS /...