Information
Parallels Plesk Automation (PPA) version 11.1 does not have direct way to change shared IP address to dedicated IP address for the domain on customer’s subscription.
Dedicated IP address can be assigned on the subscription only during creation.
The article describes workaround which can be used for assigning dedicated IP address on the existing subscription without recreating it.
Resolution
The idea is to assign a new dedicated IP address on the Service Node where Apache or IIS hosting of the customer’s domain was provisioned. It does not matter who will be the owner of the domain. Provider will be able to change the owner and assign it on the exact domain.
1. Find out Service Node where web hosting for the customer’s domain was provisioned. It can be done by the shared IP address. At the IP addresses list search by Shared IP address and find Service Node where this IP address is assigned.
Administrator Panel > Infrastructure > IP manager > IP Addresses
2. Assign unique attribute on the Service Node where web hosting for domain was provisioned. Unique attribute means that the attribute is assigned only on this Service Node.
Create attribute with any name:
Administration Panel > Products > Attributes > Add New Attribute
Assign attribute on Service Node:
Administration Panel > Infrastructure > Service Nodes > find Service Node with the web hosting for domain > switch to the General tab > click Attributes link > assign unique attribute
Unique attribute will guarantee that web hosting resource with this attribute will be provisioned on the exact Service Node.
3. Create a new Service Template with web hosting for the fake subscription. This Service Template must provision web hosting for domains only on the exact Service Node. It could be done by assigning unique attribute on the web hosting resource: Apache webspace or IIS webspace.
Create a new Service Template for shared hosting:
Administration Panel > Products > Service Templates > Add Shared Hosting Template
Set up the following parameters for the Service Template:
Name – Any
Web Hosting – Apache-based or IIS-based resource depending on the web hosting of the customer’s domain.
Mail Hosting – is not required.
Database hosting – is not required.
IP address – Dedicated IP address.
Limits – default settings.
Click the Next button
Attributes – Assign unique attribute. Apache attribute could be left untouched if it is assigned on the Service Node.
Limits – default settings.
Hosting Parameters – default settings.
Scripting – default settings.
Permissions – default settings.
Logs & Statistics – default settings.
Click Finish button.
4. Make sure that IP Pool for dedicated IP addresses is configured. Instructions can be found in PPA 11.1 FAQ . See the chapter “How can I assign a dedicated IP address to a subscription”.
5. Create a new customer with fake details:
Administration Panel > Operations > Customers > Add New Customer
6. Create a new Subscription for the customer created on the previous step. Subscription should be based on the Service Template created on the step 3.
Administration Panel > Operations > Subscriptions > Create New Subscription
7. After the subscription is created and there are no any tasks related to the new subscription creation it is necessary to change dedicated IP address to the shared IP address on the fake domain in fake subscription.
Administration Panel > Operations > Subscriptions > select fake subscription > switch to Managed By tab > click Login as Customer
Then you will be redirected to Hosting Panel > switch to the Websites & Domains tab > Click Web Hosting Access > changed Dedicated IP address to Shared IP address
With this actions you released a Dedicated IP address.
8. At this step you need to assign Dedicated IP address on the web hosting of the real customer’s domain. Repeat previous step but for the real customer.
Administration Panel > Operations > Subscriptions > select real subscription > switch to Managed By tab > click Login as Customer
Then you will be redirected to Hosting Panel > switch to the Websites & Domains tab > Click Web Hosting Access > changed Shared IP address to Dedicated IP address.
9. Set up correct usage for the resource ‘IP addresses’ on the customer subscription:
Administration Panel > Operations > Subscriptions > select real subscription > switch to Resources tab > click Edit button > set 1 limit for the IP addresses resource instead of 0 > apply changes by clicking Submit button.
10. Suspend fake subscription.
Administration Panel > Operations > Subscriptions > select fake subscription > Click Disable button