Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Question Regarding Addon Domains & setsiteip()

Discussion in 'cPanel Developers' started by darrenl, Apr 13, 2010.

  1. darrenl

    darrenl Member

    Apr 13, 2010
    Likes Received:
    Trophy Points:
    Hi all, I am developing an application that will use cPanel's API and was wondering about the setsiteip().

    Would an addon domain be considered a site and could I assign a separate IP to it from the accounts main IP? Also can the IP be shared? Or would I have to create a new account with that domain in order to change the IP?

  2. cPanelDavidN

    cPanelDavidN Integration Developer
    Staff Member

    Dec 17, 2009
    Likes Received:
    Trophy Points:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    setsiteip XML-API call and domain types in cPanel

    Hi darrenl,

    The setsiteip XML-API call is for delegating an IP to an account. You can only delegate 'main shared' IP to more than one accounts. An account can only have one IP. If you wish to have a subdomain be reach by a dedicated IP, then it would need to be it's own cPanel account; managed separately of the domain(root).

    You can find info on cPanel domain types here:
    cPanel Domains

    Additionally, you might find these docs interesting:
    Assigning Dedicated IPs to Subdomains
    IP Functions

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice