Results 1 to 5 of 5

Thread: adding new domain to the list of ther server

  1. #1
    Registered User
    Join Date
    May 2012
    Posts
    3
    cPanel/WHM Access Level

    Website Owner

    Default adding new domain to the list of ther server

    hi,

    im hosting my website at bluehost

    my website is based on joomla

    what im trying to do is..

    when user register to my site and request domain name, i want to add whis domain to my server.

    is it possible, if yes where do i start from??

    thanks

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

    Root Administrator

    Default Re: adding new domain to the list of ther server

    Can you elaborate what you mean by "request domain name" - are you going to be selling domains via your Joomla installation?

    And by "add this domain" - are you talking about creating a cPanel account? If not, then please provide more details on what you are attempting to do.

  3. #3
    Registered User
    Join Date
    May 2012
    Posts
    3
    cPanel/WHM Access Level

    Website Owner

    Default Re: adding new domain to the list of ther server

    thanks for the replay

    ill explain a bit more

    i have website based on joomla i host it in bluehost.
    my website offer building websites in an internal builder.
    users subscribe go to pay via paypal, after they pay i added the users website to my server as Subdomain.

    till now all works fine.

    what i want is the options that user can type the domain he buy somewhere else in text box press submit
    and this domain will be added to the list of domains i own (see image)

    and the option so sell domains thru the joomla is also an option

    thank you!
    Attached Thumbnails Attached Thumbnails adding new domain to the list of ther server-1.jpg  

  4. #4
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,307
    cPanel/WHM Access Level

    Root Administrator

    Default Re: adding new domain to the list of ther server

    Okay, we call that adding an Addon Domain to your cPanel account.

    What you can do is use our XML-API, but unlike most people who login as a reseller account, you would login to the API using a cPanel account. Then you would call an API2 function from the XML-API to add the addon domain.

    We have a PHP class file to help you get started: https://github.com/CpanelInc/xmlapi-php

    You can also look in the EXAMPLES folder and edit the file that deals with API 2 functions with arguments and modify that to call this function as you desire (The API2 function AddonDomain::addaddondomain - case sensitive!): AddonDomain Module Documentation

  5. #5
    Registered User
    Join Date
    May 2012
    Posts
    3
    cPanel/WHM Access Level

    Website Owner

    Default Re: adding new domain to the list of ther server

    Quote Originally Posted by cPanelDavidG View Post
    Okay, we call that adding an Addon Domain to your cPanel account.

    What you can do is use our XML-API, but unlike most people who login as a reseller account, you would login to the API using a cPanel account. Then you would call an API2 function from the XML-API to add the addon domain.

    We have a PHP class file to help you get started: https://github.com/CpanelInc/xmlapi-php

    You can also look in the EXAMPLES folder and edit the file that deals with API 2 functions with arguments and modify that to call this function as you desire (The API2 function AddonDomain::addaddondomain - case sensitive!): AddonDomain Module Documentation
    thanks!

    ill try it out..

Similar Threads

  1. Adding www. to domain name returns server not found error
    By phoenix2gee in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 10-10-2009, 11:46 PM
  2. Is ther a way to add allowances to jailshell?
    By carock in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 01-10-2009, 07:47 PM
  3. Adding domains to MX Filter list deletes
    By jetnet in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 08-27-2006, 02:16 PM
  4. how to ban client adding a certain domain as addon/parked domain
    By c9net in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 07-14-2003, 08:32 AM
  5. Is ther a problem with adding the same name servers for seve
    By DWHS.net in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 12-07-2002, 01:16 AM