The fix-web-vhost-configuration Script
You can use the /usr/local/cpanel/scripts/fix-web-vhost-configuration script to iterate through each user’s web virtual host configuration files and remove excess alias names.
You can use the /usr/local/cpanel/scripts/fix-web-vhost-configuration script to iterate through each user’s web virtual host configuration files and remove excess alias names.
You can use the rebuildhttpdconf script to rebuild Apache's main configuration file.