Creating a Subdomain through UAPI still not possible?
Do we have any ETA for when we'll get more than Domain info through the UAPI? It would make my life a whole lot easier if the functionality for creating / managing / removing subdomains was added... among other things.
-
Hello :) Thank you for your interest in this functionality. There's no update to report on the addition of a UAPI function that allows users to create subdomains. The current workaround is to utilize cPanel API 2: cPanel API 2 Functions - SubDomain::addsubdomain - Software Development Kit - cPanel Documentation Thank you. 0 -
Hi Michael, I have been using UAPI 2 via URL calls however the 54 build has broken this and i can't seem to get it working again. (Something to do with the way the form submittion completes in cpanel). API2 is fine for those cpanel installs that can include it, for some shared systems however it doesnt work (cant include the required cpanel.php). Could you give me some pointers on how to impliment this in Perl? Im not a perl dev but im happy to make a new UAPI module to interface with the API2 functions if theres no prospect of it being added by the Cpanel team any time soon 0 -
I have been using UAPI 2 via URL
Sorry this should read I have been using the API2 via URL0 -
I have been using UAPI 2 via URL calls however the 54 build has broken this and i can't seem to get it working again. (Something to do with the way the form submittion completes in cpanel).
Could you provide more details or specific output from /usr/local/cpanel/logs/error_log when this happens on cPanel version 54? Thank you.0 -
I'm in the same situation, all my scripts (API2) stoped working when the cPanel is upgraded to 54.0 (Build 15). I'm wondering whether it's worth fixing my API2 based scripts or I would just write new scripts using UAPI. That's a big question to me because it affects hundreds of client accounts and I'm afraid that the API2 would eventually reach its EOL when the UAPI is completed. 0 -
I'm in the same situation, all my scripts (API2) stoped working when the cPanel is upgraded to 54.0 (Build 15).
Could you provide more details on any specific error messages you receive? Thank you.0 -
Could you provide more details on any specific error messages you receive? Thank you.
For me at least, is specifically a cURL call to a direct URL. I don't get any error messages, it returns a 200 status so my script marks the creation as successful, unfortunately however its not. So far as I can tell its due to the changes made in the way the process now submits. It appears to be an Ajax process or something similar... I suppose I could try dump the entire page content out, not all that easy to work with though. Tl;dr I get no errors in logs or HTTP status, just doesn't complete as expected. Its also worth noting that I had another (separate) issue with SSL and Hostnames after 54, this was solved by using the server hostname rather than the domain of an account using the server.0 -
Feel free to open a support ticket using the link in my signature so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome. Thank you. 0
Please sign in to leave a comment.
Comments
8 comments