• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

PLESK 8.2 API - I need to create a subdomain

A

anitabak

Guest
Hi
I need to create a subdomain in PHP with using PLESK API but I can not find any appropriate XML packet. Is there anybody who have done this with using API RPC? There is a request XML packet for creating domains, but it is not suitable for creating subdomains:
<packet version="1.4.2.0">
<domain>
<add>....
</add>
</domain>
</packet>

I try to use PLESK CLI but can not get successful SHH connection to PLESK to run the command:
# /usr/local/psa/bin/subdomain.sh --create test -domain maindom.com.au -hard_quota 1G -ssi true -php true -ftp_user native -login username -passwd userpass -ssl true

Any ideas?
Thank you in advance
 
Back
Top