• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

howto create domain aliases in batch mode with domain.sh?

# /usr/local/psa/bin/domalias -h

Usage: domalias command <domain alias> [options]

Available commands:
--create or -c <domain alias> Creates a domain alias
--update or -u <domain alias> Updates a domain alias properties
--delete or -d <domain alias> Deletes a domain alias
--delete-all or -da <parent domain>
Delete all domain aliases for
specified domain
--info or -i <domain alias> Retrieves domain alias information
--on <domain alias> Enables given domain alias
--off <domain alias> Disables given domain alias
--rename or -r <domain alias> Renames a domain alias
--help or -h Displays this help page

Available options:
-new-name <fqdn> New domain alias name. Required for
the "rename" command
-mail <true|false> Enables/disables domain alias for mail
service
-web <true|false> Enables/disables domain alias for web
service
-domain <fqdn> Domain name. Required for creation
-status <enabled|disabled|admin,domadm,parent,client>
Enables or disables domain alias
-tomcat <true|false> Enables/disables Tomcat on domain
alias
 
Excellent, thanks!

Are these commands documented somewhere? A list of what's available would be nice.
 
Back
Top