
Originally Posted by
garlic
Hello,
I am currently writing a "web service" like collection of scripts to act as a wrapper around cpanel to enable cpanel like functionality within the content manager that we sell.
Basically we are trying to include the most used functionality into these scripts. These scripts are served by the cpanel webserver, so they have the same permissions as the user frontend.
My question is this, what application does the cpanel user frontend use to create subdomains and parked domains?
My best guess is the /usr/local/cpanel/bin/domainadmin application, but I can't seem to find its usage anywhere.
I was able to very easily replicate the add/delete/edit email account type functions thanks to the /usr/local/cpanel/cpanel-email application. I am hoping there is a similar one for domains!
I really don't want to try and replicate this process... setting up apache virt hosts, email accounts, dns records, ftp accounts etc... ergh.
Any help welcome,
Thanks,
Michael