Change user or domain /cpanel /webmail /whm redirection

tui

Well-Known Member
Jun 15, 2007
110
19
68
Mexico
cPanel Access Level
Root Administrator
Hello,

I know that i can change the cPanel redirections from Tweak settings in server, but i want to know if is possible to change the redirections for a specific account/domain without move my actual server settings, (like .htaccess or something) let me explain:

I manage the website of a client, i have his website account in one server where he does not have access to cPanel, i have my client email in another server where he have access to cpanel to manage its email accounts.

If my client go to clientdomain.com/cpanel this redirects to hostname server where is hosted its website, however he does not have access to this cpanel account, if he wants to open webmail to check his mail accounts or cpanel to manage his email accounts he need to go to mail.clientdomain.com/cpanel or mail.clientdomain.com/webmail there is no problem at all with this but he contact us almost everyday saying that his credentials does not work, and this is because he use clientdomain.com/webmail instead of mail.clientdomain.com/webmail and we need to tell him over and over that he need to use mail.clientdomain.com... however, he do not get this and he thinks that we fix something or change something and that this is something that need to be fixed everytime he put a wrong url, clients, you know.

So the question: is possible to make a custom redirection for his domain /cpanel /webmail links in order to redirect them to the other server cpanel/webmail login page?
 

sysdop

Member
Sep 10, 2017
18
1
3
International
cPanel Access Level
Root Administrator

tui

Well-Known Member
Jun 15, 2007
110
19
68
Mexico
cPanel Access Level
Root Administrator
Hello @sysdop, thanks for your reply, i already checked the tutorial you point me, but this is at server level, what im looking for is something at account level, something less aggressive, is just for one single account/domain
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
Hello, no i do not have root access to this account, any other way to do this without root access?
You won't be able to override the aliases configured by default in the Apache configuration without root access. However, you could send a request to your web hosting provider to see if they can setup a custom virtual host entry for your domain name to disable the alias.

Thank you.