• 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/

Creating Subdomains with a Script

W

wptonline

Guest
We need a subdomain for a lot of domains we are hosting. I tried with subdomainmng

/opt/psa/admin/bin/subdomainmng --create --subdomain-name=preview --vhost-name=mycooldomain.de --user-name=mycooldomain-de --cl-id=1

The script creates the subdomain and the files, but it is not listed in Plesk nor the needed files in conf/ are created. What is missing or what do I do wrong?
 
Back
Top