Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Aug 2008
    Posts
    3

    Default Adding "Addon Domain" to my account..

    Hi,
    Does Cpanel provide APIs to add "Addon domain" to my account via a script ..

    Regards
    Abhishek

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by abhishek198 View Post
    Hi,
    Does Cpanel provide APIs to add "Addon domain" to my account via a script ..

    Regards
    Abhishek
    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.

Similar Threads & Tags
Similar threads

  1. Replies: 1
    Last Post: 12-22-2008, 07:02 PM
  2. Yet Another "Problem Adding Addon Domains" Thread
    By captbunzo in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 11-26-2008, 09:25 AM
  3. Adding "Addon Domain" to my account..
    By abhishek198 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 08-25-2008, 09:32 AM
  4. Adding a DNS zone -- "Sorry [] is not a valid domain name"
    By golloween in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 07-02-2004, 03:28 AM
  5. Replies: 4
    Last Post: 07-19-2003, 06:35 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube