• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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