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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Create Multiple Addon Domains?

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

  1. skaye

    skaye Registered

    Joined:
    Apr 16, 2018
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,293
    Likes Received:
    1,764
    Trophy Points:
    363
    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.
     
Loading...

Share This Page