• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

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