The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Adding "Addon Domain" to my account..

Discussion in 'General Discussion' started by abhishek198, Aug 25, 2008.

  1. abhishek198

    abhishek198 Registered

    Joined:
    Aug 25, 2008
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Hi,
    Does Cpanel provide APIs to add "Addon domain" to my account via a script ..

    Regards
    Abhishek
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Yes, you would use a combination of our XML-API with API2 to handle this. You will need at least reseller access to the server to call these APIs.

    You can find the API2 code that cPanel's x3 interface uses on line 15* of /usr/local/cpanel/base/frontend/x3/addon/doadddomain.html

    Documentation on calling an API2 function from the XML-API can be found at:

    http://www.cpanel.net/plugins/xmlapi/cpanel.html

    If you need assistance with this, please feel welcome to drop an email to sales@cpanel.net so we can assist.

    * Exact line numbers are subject to change without notice.
     
Loading...

Share This Page