PyRoAcIdK

Active Member
Jan 15, 2005
42
0
156
Melbourne, Australia
Hi Team,

Is there a way to change the /cpanel & /whm redirection for one domain to go to another server?

We were on one server, but then we moved the main site to another server, but old customers are still using /cpanel & /whm.

(One based in Australia, one based in the US)

Can we do this with a .htaccess or anything?

Thank You
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,545
12
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Twitter
Is there a way to change the /cpanel & /whm redirection for one domain to go to another server?

We were on one server, but then we moved the main site to another server, but old customers are still using /cpanel & /whm.

(One based in Australia, one based in the US)

Can we do this with a .htaccess or anything?
Any ideas what so ever?
The redirect will use the the local server at which the request is received; I am not aware of an easy method to change how this works.

I would consider advising end-users to utilize their own domain names when using the "/cpanel", "/whm", and "/webmail" redirects; this will prevent and avoid the described predicament.

Alternatively, I would consider using the server hostname and suggesting that as a direct way to access cPanel, WHM, and Webmail on each server, such as via the following URL examples (where "server" should be replaced by the server hostname or account domain name):
Code:
http://server:2082/
https://server:2083/
http://server:2086/
https://server:2087/
http://server:2095/
https://server:2096/