Create aliases via API?
Sorry, I'm Vietnamese communicating through Google Translate so it's not the right word! please understand.
You use a hosting package of a Vietnamese provider!
currently i want an aliased API code without the dashboard but only the API can generate aliases!
- I have searched all over google without.
- You have API code has been modified just to modify the server ID, account, password can create aliases you please.
Please tell me what you have to share!
Thank you first!
Wish you have a happy new day.
-
Hi @DucNghia I believe what you are looking for is an API function to add an Alias. This is present but it is called the old name Park a domain. The function is found here: cPanel API 2 Functions - Park::park - Developer Documentation - cPanel Documentation Thanks! 0 -
Hi, I would like to add domain aliasses with the Cpanel UAPI. There is no UAPI equivalent available for doing this. Are there any plans to add this in the future to the API? Thanks, Stijn 0 -
Right now there is no UAPI equivalent to this but we are working to update all the UAPI to include functions that are available in CPAPI2. I don't have a timeframe for this at this time though. 0 -
Hi, any update about UAPI or another alternative to create Alias through PHP ? 0 -
Hello @cPanelHB , Thank you for your reply . Yes, I used CpanelInc/xmlapi-php and it was working before, is there any update for this Class ? 0 -
Now ,I am getting this issue string(356) "PHP Fatal error: Uncaught RuntimeException: There was a problem fetching the env variablecontaining the path to the socket in /usr/local/cpanel/php/cpanel.php0 -
Hello, As that Github page notes, that particular project is obsolete, but will still function so long as you use json output. With regards to the error you have encountered, it is hard to say what may be wrong. Would you be willing to submit a support ticket so that we can investigate? Though, I do want to stress that our ability to troubleshoot issues with third-party scripting can be limited. 0
Please sign in to leave a comment.
Comments
8 comments