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!

Create Multiple Addon Domains?

Discussion in 'cPanel Developers' started by skaye, Apr 16, 2018.

  1. skaye

    skaye Registered

    Apr 16, 2018
    Likes Received:
    Trophy Points:
    los angeles
    cPanel Access Level:
    Website Owner
    Does anyone know of a working script to add multiple Addon Domains?

    It's rather annoying that cPanel does not provide bulk Addon Domains.
    #1 skaye, Apr 16, 2018
    Last edited by a moderator: Apr 16, 2018
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello @skaye,

    I encourage you to open a feature request if you'd like to see an option to add multiple addon domain names at once:

    Submit A Feature Request

    Until such a feature is added, you might try developing a custom script that makes use of the following cPanel API 2 function:

    cPanel API 2 Functions - AddonDomain::addaddondomain - Developer Documentation - cPanel Documentation

    Here's an example of how you might do this (note this particular example is for removing multiple addon domain names):

    bulk addon domain removal

    Thank you.
    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