Redirect to cPanel Account Question

sodapopinski

Well-Known Member
Aug 13, 2001
90
2
308
I just got a new server lets say the hostname is server.hostname.com, tried to config it and created a test account, let's say it example.com
The problem when I accessed example.com/cpanel/ or example.com/whm/ the browser directed to the server.hostname.com.

How to let the cpanel as is it example.com:2083 in the browser?

Thank you.
 
Last edited by a moderator:

cPWilliamL

cP Technical Analyst II
Staff member
May 15, 2017
258
30
103
America
cPanel Access Level
Root Administrator
Hi @sodapopinski,

There are a few Tweak Settings that control this behavior at WHM > Server Configuration > Tweak Settings > Redirection.
  • Choose the closest matched domain for which that the system has a valid certificate when redirecting from non-SSL to SSL URLs. Formerly known as "Always redirect to SSL/TLS"
  • Non-SSL redirect destination
  • SSL redirect destination
Tweak Settings - Version 66 Documentation - cPanel Documentation

Please check these to see if any help.

Thanks,