• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Adding domain to subscription via cli

OllyStubbs

New Pleskian
Hi guys,

I work for a hosting company that sells dedicated servers with Plesk as standard.

We are trying to get our customers to move to new plesk boxes, by doing that we are also offering a migration service.

I've written a script that digs out the domain name and account it was mapped to, however it was possible to map multiple domains to an account, since there was only one username/password for all those domains, it would make sense to have them all under the same subscription.

I have looked for a way to add domains to an already existing subscription but only seem to be able to either add a new one, (which errors due to the fact the username already exists) or rename the current subscription.

Anyone know if that is a functionality of the command line tools of plesk?
 
Back
Top