• 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

Resolved CLI Question

DieterWerner

Regular Pleskian
# plesk bin subdomain --create sample -domain example.com -www-root /site2

Is nice and works fine - but what must be done if there are more than one subdomain?
 
I'm not sure I understand the question. The obvious answer is that you should repeat the command to create another subdomain, e.g.:

1) first execute: plesk bin subdomain --create sample -domain example.com -www-root /sample.example.com
2) then execute: plesk bin subdomain --create sample2 -domain example.com -www-root /sample2.example.com
 
Back
Top