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

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