URL to redirect to parts of the cPanel

Cambreaker

Member
Sep 8, 2022
9
1
3
Florida
cPanel Access Level
Root Administrator
When I click the bookmark, I get the standard login page with " The security token in your request is invalid. " and a cPanel Username and Password field (autofilled by my password manager). The URL here is still that of the bookmark. I click submit, get "Login Successful, redirecting" and then arrive at "Enter the security code for "[username]"" (again autofilled with my 2FA code). At this point, the URL is still identical to that set as the bookmark. I click "Continue" and am then immediately redirected to https://mywebsite.com:2083/cpsess##UpdatedSessionID##/frontend/jupiter/index.html
Even if I copy that updated session ID after successful login to update my bookmark URL, I still get directed through the login>2FA>Jupiter frontend loop. This behavior is new from the time I enabled 2FA. Previously, after the Login Succcessful, I'd wind up at the PHPMA URL of my bookmark, but with the new session ID between the slashes. This is true across three computers that use this bookmark, two Firefox and one Chrome.
 

Cambreaker

Member
Sep 8, 2022
9
1
3
Florida
cPanel Access Level
Root Administrator
That's correct. After some additional investigating, I see that it briefly passes through https://mywebsite.com:2083/login, and then there IS a difference in the URL by the 2FA screen: it's actually
So by this point it's already dropped the part of the URL that opens the correct SQL server and database, but after entering the 2FA code it redirects all the way back to the cPanel front page regardless.
 

Cambreaker

Member
Sep 8, 2022
9
1
3
Florida
cPanel Access Level
Root Administrator
So I got a reply on this, and if I understand correctly, the 2FA login can't redirect to a specific app within cPanel when a new session is opened, and suggested I use Host Access Control. That doesn't seem like the best option, as I'd have to know the IP of anyplace to which I'm traveling ahead of time, but I'm going to continue to seek another option that is more secure than simple password, but allows the convenience of a bookmark redirecting to the correct app.