JOW Posted July 4, 2019 Share Posted July 4, 2019 In WHMCS client area: Portal Home> Client Area> My Products & Services> Product Details, the "Login to cPanel button redirect me to reseller domain provider while I have my own domain. I want to change the url to my own website. I couldn't find anything related to this issue. How can I change the button action that client can login to their website cPanel using my reseller domain instead of reseller provider domain? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted July 4, 2019 Share Posted July 4, 2019 It's based upon the url value returned by the cPanel API: https://documentation.cpanel.net/display/DD/WHM+API+1+Functions+-+create_user_session Please check with your hosting provider if they can adjust that for you. 0 Quote Link to comment Share on other sites More sharing options...
JOW Posted July 4, 2019 Author Share Posted July 4, 2019 I did it but there is no specific option to set or change the cPanel login page. 0 Quote Link to comment Share on other sites More sharing options...
JOW Posted July 4, 2019 Author Share Posted July 4, 2019 I've checked, the button link is correct but after click it has redirect the client to reseller provider link. 0 Quote Link to comment Share on other sites More sharing options...
Remitur Posted July 4, 2019 Share Posted July 4, 2019 2 3 hours ago, JOW said: I've checked, the button link is correct but after click it has redirect the client to reseller provider link. I guess it's a server-side configuration, done by your provider. If you copy/paste your custom link in your browser, I guess you're redirected too, isn't it? 0 Quote Link to comment Share on other sites More sharing options...
JOW Posted July 5, 2019 Author Share Posted July 5, 2019 22 hours ago, Remitur said: If you copy/paste your custom link in your browser, I guess you're redirected too, isn't it? Yes, you are right. But how to fix this redirect issue? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted July 5, 2019 Share Posted July 5, 2019 you can set custom URLs for these cPanel links using a hook... but if that custom link you're using is being redirected by the host, then you might need to discuss the redirection situation with them. 0 Quote Link to comment Share on other sites More sharing options...
JOW Posted July 7, 2019 Author Share Posted July 7, 2019 On 7/6/2019 at 1:23 AM, brian! said: but if that custom link you're using is being redirected by the host, then you might need to discuss the redirection situation with them. Thanks for this solution. This is good if the client website has SSL otherwise it's not secure to allow the clients using this method of cPanel login. This hook removed the default link from my account, how to restore the default settings? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted July 7, 2019 Share Posted July 7, 2019 6 hours ago, JOW said: This hook removed the default link from my account, how to restore the default settings? delete (or change the extension) of the hook and then it will be disabled. 🙂 On 04/07/2019 at 04:46, JOW said: I've checked, the button link is correct but after click it has redirect the client to reseller provider link. what's the redirection from your host doing? changing ports, redirecting to a different domain?? 0 Quote Link to comment Share on other sites More sharing options...
JOW Posted July 7, 2019 Author Share Posted July 7, 2019 3 minutes ago, brian! said: delete (or change the extension) of the hook and then it will be disabled. 🙂 On 7/4/2019 at 1:46 PM, JOW said: Delete or changing the name is not work, because it already deleted the two links Login cPanel and webmail. 4 minutes ago, brian! said: what's the redirection from your host doing? changing ports, redirecting to a different domain?? For temporary solution, I've changed two button link to mysite.com/whm for cPanel and mysite.com/webmail for email. This works fine but the clients can't login with single sign in method. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted July 7, 2019 Share Posted July 7, 2019 24 minutes ago, JOW said: Delete or changing the name is not work, because it already deleted the two links Login cPanel and webmail. deleting the hook will just make WHMCS use the default links that it previously did. 36 minutes ago, JOW said: For temporary solution, I've changed two button link to mysite.com/whm for cPanel and mysite.com/webmail for email. This works fine but the clients can't login with single sign in method. even the default settings don't use SSO for webmail, only for cPanel. so with the original links, where were they being redirected via the cpanel link? to the reseller site? did they need to login in ?? 0 Quote Link to comment Share on other sites More sharing options...
JOW Posted July 7, 2019 Author Share Posted July 7, 2019 3 minutes ago, brian! said: even the default settings don't use SSO for webmail, only for cPanel. You are totally right. 3 minutes ago, brian! said: so with the original links, where were they being redirected via the cpanel link? to the reseller site? did they need to login in ?? It just redirect the cPanel to reseller server name and login to account without user name and password. I'm not sure where this redirect configuration is? Is it from whm settings or from server? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.