How to redirect "webmail.domain.tld" to "www.webmail.domain.tld"?

timesurfer

Well-Known Member
Apr 16, 2019
60
13
8
Portugal
cPanel Access Level
Root Administrator
Hi,

How can I redirect this?
webmail.domain.tld
to
www.webmail.domain.tld

The reason I ask this is because, in WHM/cPanel, webmail.domain.tld works as a bridge to access the webmail.

So, I guess creating a subdomain and redirecting it is not the correct way of doing this.
But maybe some other configuration in apache or something.
Can anybody give some advice?
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,252
313
Houston
Is there a specific reason you're looking to do this for the www. portion? Because of the way this is aliased there is no www. subdomain of webmail.domain.tld created
 

timesurfer

Well-Known Member
Apr 16, 2019
60
13
8
Portugal
cPanel Access Level
Root Administrator
Is there a specific reason you're looking to do this for the www. portion? Because of the way this is aliased there is no www. subdomain of webmail.domain.tld created
Thank you for your attention and sorry to bother with this nonsense thread.

The reason was just in case some users, in one particular domain we have, introduced incorrectly the URL like this:
www. webmail.domain.tld
instead of correctly like this:
webmail.domain.tld

However, some users are already accessing the emails using just:
webmail.domain.tld
and so far nobody complained.

So, please consider this thread as solved or delete it because now we consider there is no reason to make this change.
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,252
313
Houston
It's a valid question, but in most cases people won't add the www on a subdomain. If you do find an instance in which you find this is something you would like or need please feel free to let us know and we'll look into it again.