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
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