Articles in this section

How to change the Service Plan for a Subscription in Plesk

Plesk for Windows kb: how-to Plesk for Linux

Applicable to:

  • Plesk for Linux
  • Plesk for Windows

Question

How to change the Service Plan for a Subscription in Plesk?

Answer

Plesk interface
  1. Log in to Plesk.
  2. Go to Subscriptions and select subscription(s) for which the service plan should be changed.


    Screenshot_2021-11-16_at_12-56-47_Subscriptions_-_Plesk_Obsidian_18_0_39.png
     

  3. Select a service plan from the drop-down list and click OK.


    Screenshot_2021-11-16_at_13-00-59_Changing_Plan_and_Add-ons_Associated_with_Subscriptions_-_Plesk_Obsidian_18_0_39.png
     

Command-line interface
  1. Connect to your Plesk server via SSH (Linux) / RDP (Windows Server).
  2. Use the plesk bin subscription utility.

    Examples:

    • To assign a subscription to a service plan with the name 'New Plan', run:

      # plesk bin subscription --switch-subscription example.com -service-plan "New Plan"

    • (Linux only) To assign all domains under a particular service plan to another service plan (Linux only):

      Note: Change the values of OLD_SERVICE_PLAN and NEW_SERVICE_PLAN to actual names.

      # export OLD_SERVICE_PLAN="Default Domain"

      # export NEW_SERVICE_PLAN="Unlimited"

      # plesk db -e "select domains.name from domains join Subscriptions join PlansSubscriptions join Templates where domains.id=Subscriptions.object_id and Subscriptions.id=PlansSubscriptions.subscription_id and PlansSubscriptions.plan_id=Templates.id and Templates.name='${OLD_SERVICE_PLAN}'" -Ns | while read dom ; do echo -e "'Processing ${dom}: Changing \"${OLD_SERVICE_PLAN}\" to \"${NEW_SERVICE_PLAN}\"..."; plesk bin subscription --switch-subscription ${dom} -service-plan "${NEW_SERVICE_PLAN}"; done

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.