How to change default webmail URL of cPanel

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,229
463
Hello,

You'd need to use the proxy subdomains feature to access webmail via the "webmail.domain.tld" URL. You can find information about Proxy Subdomains under the Domains tab in WHM >> Tweak Settings:

Tweak Settings - Documentation - cPanel Documentation

Thank you.
 

A.Chake

Member
Jan 10, 2017
5
0
1
Austria
cPanel Access Level
Root Administrator
Thank you very much for your reply,

But I only want all webmails of all hosted domain names get redirected to one webmail which is "webmail.MyDomain.com"

and if Possible the same for cPanel !
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,229
463
Hello,

There are no native options available to add additional hosts for proxy subdomains, but you can manually edit the Apache configuration. This is discussed in the following thread:

How change the webmail url in Proxy subdomains

In addition, you may find this thread helpful:

Custom DNS Records For Subdomains

Note that if you are using EasyApache 4, the instructions for Apache customization have changed and are documented at:

Advanced Apache Configuration - EasyApache 4 - cPanel Documentation

Thank you.