/cpanel /whm /webmail redirects to the main domain..

kernow

Well-Known Member
Jul 23, 2004
1,020
62
178
cPanel Access Level
Root Administrator
CP11 cpanel redirects to host name

When a clients logs into cpanel, the servers host name shows in the url, even though this is unchecked in tweak settings.
CP 11 12031
( redirect to ssl port is checked )
 
Last edited:

yapluka

Well-Known Member
Dec 24, 2003
301
2
168
France
cPanel Access Level
Root Administrator
If you don't want to redirect to the hostname, just delete the hostname from /var/cpanel/ssl/cpanel-CN :)
 

kernow

Well-Known Member
Jul 23, 2004
1,020
62
178
cPanel Access Level
Root Administrator
If we do that it will stop all access to cpanel/webmail.
We want to redirect clients to use the servers ssl port but not show the servers host name. The option is there in tweak setting but it isn't working ATM.
 

yapluka

Well-Known Member
Dec 24, 2003
301
2
168
France
cPanel Access Level
Root Administrator
If we do that it will stop all access to cpanel/webmail.
We want to redirect clients to use the servers ssl port but not show the servers host name. The option is there in tweak setting but it isn't working ATM.
It won't stop any access. All my servers are set that way...
 

yapluka

Well-Known Member
Dec 24, 2003
301
2
168
France
cPanel Access Level
Root Administrator
Weird... all my servers are set the same way with an empty /var/cpanel/ssl/cpanel-CN, as suggested by cPanel staff.

Did you make sure that your services certificates are properly set up ?
Service config >> Manage Service Certificates
 

kris1351

Well-Known Member
Apr 18, 2003
961
0
166
Lewisville, Tx
This is new as of Cpanel11. We have always had it set in the tweak settings not to do that, but the new Cpanel11 is overriding that setup and I do not see a work around yet.
 

yapluka

Well-Known Member
Dec 24, 2003
301
2
168
France
cPanel Access Level
Root Administrator

kris1351

Well-Known Member
Apr 18, 2003
961
0
166
Lewisville, Tx
This has been simplified in tweak settings.

Please see attached screen shot.



Will be released in a build after the build # mentioned in this bug report: http://bugzilla.cpanel.net/show_bug.cgi?id=5374
How much simpler could it have been other than leaving it clicked off like it was a few weeks ago? Btw by selecting it in the new current it still redirects to the host name instead of leaving it the domain even after your update this week. Why do you mess with some things so simple and so standard like that is one of those quesitons I have asked over the last 5-6 years.
 

isputra

Well-Known Member
May 3, 2003
574
0
166
Mbelitar
i change my setting like cpanelnick's screenshot but still when login to /cpanel /whm or /webmail will be redirecting to my hostname.

how to change to originate domain name not hostname ?

i am using WHM 11.1.0 cPanel 11.2.19-C12737
 
Last edited: