Introduction
A user may want to use a different autodiscover address but there is no way for the user or server admin to change this in cPanel or WHM. You can use the included editor to add a custom redirect for your specific domain. WHM > Service Configuration > Include Editor.
Procedure
In this example the domain domain.com wants autodiscover to load autodiscover.domain.com
Example rewrite rule to be placed into /usr/local/apache/conf/includes/pre_main_2.conf
RewriteOptions inherit
RewriteEngine on
RewriteCond %{SERVER_PORT} ^443$ [OR]
RewriteCond %{SERVER_PORT} ^80$
RewriteCond %{HTTP_HOST} ^domain.com$
RewriteCond %{REQUEST_URI} ^/autodiscover/autodiscover.xml
RewriteRule ^(.*)$ https://autodiscover.domain.com/autodiscover/autodiscover.xml [R=301,L]