• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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