• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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