Create Multiple Addon Domains?

skaye

Registered
Apr 16, 2018
1
0
1
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.
 
Last edited by a moderator:

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,233
363
cPanel Access Level
DataCenter Provider
Twitter
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.