• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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