• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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