• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Setting Service plan for Subdomain via Command line interface

B

bastienger

Guest
Hello,

i am using the following commands to create customers, subdomains, webusers and then trying to set a subscription for that new subdomain but it doesnt work.

my $exec_command_customer = "/usr/local/psa/bin/customer --create $login -name \"$subdomain\" -passwd $pass -country CH -notify false 2>&1";

my $exec_command_domain = "/usr/local/psa/bin/subdomain --create $login -domain crypefree.org -ssi true -php true -perl true -ssl true 2>&1";

my $exec_command_webuser = "/usr/local/psa/bin/webuser --create $login -domain crypefree.org -passwd $pass -php true -quota 1024M";

my $exec_command_subscription = "/usr/local/psa/bin/subscription --add-subscription $login -service-plan CrypeFree";

Please tell me how to set up a subscription or service plan ( eg, CrypeFree with 1GB Space&Traffic ) for the subdomain "$subdomain".

many thanks in return,
Sebastian
 
Back
Top