Skip to main content

Permanently remove cPanel redirects

Comments

1 comment

  • cPanelMichael
    Hello, You can complete the following steps to remove or modify these entries: 1. Copy the Apache 2.4 template for EasyApache 4 to allow for customization:
    cp -a /var/cpanel/templates/apache2_4/ea4_main.default /var/cpanel/templates/apache2_4/ea4_main.local
    2. Edit /var/cpanel/templates/apache2_4/ea4_main.local to remove the alias entries:
    vi /var/cpanel/templates/apache2_4/ea4_main.local
    3. Save the changes, and then run:
    /scripts/rebuildhttpdconf
    Thank you.
    0

Please sign in to leave a comment.