Free cPanel PHP Script to Automate Creation of Addon Domains
Do you need to create hundreds are even thousands of addon domains in your cPanel account? Here is a free PHP script that will save you a great deal of time. The script uses cPanel’s API 2 functionality.
To use the script:
Your host should support PHP 4 or later versions or PHP.
Add your domain list to domains.txt (included in download). I would recommend not doing more than 50-100 domains at a time. I recently added 105 domains to one HostGator account with no problems. Start small, maybe only try adding the first three to ensure everything is working correctly.
To use the script, create a folder off of one of your sites hosted on the same cPanel account.
Then upload addonhelper.php, domains.txt, index.php, style.css to that folder.
Use a web browser to navigate to that folder. You will see the below image:

cPanel Addon Domain Script
***To locate your cPanel skin name look at red text, http://mysite.com:2082/frontend/x3/index.php
In this case the cPanel screen name would be x3. If you have trouble locating your skin name you may need to contact your host.
You can download the script here.
Let us know if this free PHP cPanel addon domain script saved you some time.
Related posts:
Written by Houston SEO on Mar 5 2009




Leave a Reply