Run this command and cPanel will rebuild the Apache httpd.conf file:
This rebuilds the httpd.conf file from the cPanel templates at /var/cpanel/templates/.
Your web server will not be affected until you restart Apache, which you can do safely either inside WHM (Web Host Manager):
Restart Services -> HTTP Server (Apache) -> Restart
Or via SSH command:
If the above commands don't work, run it (by running the command will take 2-5 minutes):
yum reinstall ea-apache24-config-runtime -y