Jump to content

Changing cPanel URL


punit2502

Recommended Posts

Hello,

 

My cpanel is being installed on cpanel.mydomain.com whereas my whmcs is installed on mydomain.com

 

Whenever my clients are trying to use actions in client portal like login to cpanel or login to webmail or using quick shortcuts, they get an error:

 

Action Failed Unable to auto-login. Please contact support.

 

Please help!

Link to comment
Share on other sites

http://docs.whmcs.com/CPanel_Single_Sign-On

 

cPanel Single Sign-On can be performed for any user owned by the WHM user configured for a cPanel server within the WHMCS installation.

In the case of a WHM reseller account, what this means is that if you do not own your own account you will not be able to perform Single Sign-On into it. Attempting to login will result in the error "Action Failed Unable to auto-login. Please contact support".

you could use an action hook to change the links, but then you lose the SSO facility and the client would need to log into their cPanel account with their username and password.

 

http://forum.whmcs.com/showthread.php?104894-Login-to-cPanel-amp-Webmail-on-Client-Product-Details&p=432807#post432807

Link to comment
Share on other sites

http://docs.whmcs.com/CPanel_Single_Sign-On

 

 

you could use an action hook to change the links, but then you lose the SSO facility and the client would need to log into their cPanel account with their username and password.

 

http://forum.whmcs.com/showthread.php?104894-Login-to-cPanel-amp-Webmail-on-Client-Product-Details&p=432807#post432807

 

Sorry but I am new to it. Can you please give me the exact code and what should I name it and where should I I upload it

Link to comment
Share on other sites

  • WHMCS Support Manager

Hi,

In WHMCS v6.0 the software uses the cPanel API to facilitate logging in to cPanel/WHM and also the new cPanel functionality from the WHMCS product details page.

This relies upon the create_user_session function in the cPanel API: https://documentation.cpanel.net/display/SDK/WHM+API+1+Functions+-+create_user_session

WHMCS will use the url that is returned by the cPanel API on your server to login to cPanel/WHM.

 

It may be possible to change the url returned by the cPanel API, but it would be necessary to contact cPanel support directly to see whether that's something that can be changed at their end.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated