Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Reseller -> Resold cPanel Redirect

Discussion in 'User Experience' started by JawadArshad, Oct 19, 2017.

  1. JawadArshad

    JawadArshad Well-Known Member
    PartnerNOC

    Joined:
    Apr 8, 2008
    Messages:
    458
    Likes Received:
    6
    Trophy Points:
    68
    Location:
    PK
    cPanel Access Level:
    DataCenter Provider
    A client recently reported they cannot switch from their main reseller cPanel to one of their resold users through the drop down available in paper_lantern theme. I noticed, selecting a user redirected URL to https://cpanel.server.hostname.com instead of cpanel.example.com (main reseller site) or cpanel.example2.com (site2.com being the resold site). This (cpanel.server.hostname.com) of course does not have an A record and thus throws a DNS error. This only happens if you log in via https://example.com/cpanel. If you use https://server.hostname.com/cpanel, it doesn't occur. Its not a deal breaker but sometimes clients prefer using their example.com/cpanel URL rather than bookmarking the hostname:2083.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #1 JawadArshad, Oct 19, 2017
    Last edited by a moderator: Oct 19, 2017
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,309
    Likes Received:
    393
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    I'm unable to duplicate this on my end.

    What happens if the Reseller logs in via example.com/cpanel, and then switches to example2.com cPanel account via that Resellers menu? For me, the SSL URL stays the same in the address bar, but the cPanel account does change properly.

    If I login to the cPanel account as Reseller to server.hostname.com:2083 and switch to another of my accounts via the menu, the URL stays the same as well but does switch as expected.

    Tested on cPanel ver 66.0.25

    WebHost Manager »Server Configuration »Tweak Settings, Redirection tab:
    "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” is set to, On.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice