• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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