The domalias
utility is used to manage domain aliases through CLI.
By using this utility, you can perform the following tasks:
- creating or deleting domain aliases
- viewing the information about domain aliases
- enabling and disabling Web, Tomcat, and mail services on domain
aliases
Usage
domalias <command> [
<option_1> [<param>]
[<option_2> [<param>]]
... [<option_N> [<param>]]
]
Example
The following command creates domain alias example.net for the domain
example.com, enables the domain alias, and enables mail service on the
domain alias.
plesk bin domalias --create example.net -domain example.com -status enabled -mail true
Commands
Command | Parameter | Description | Example |
---|---|---|---|
--create or -c |
<alias_name> |
Creates a new domain alias. Requires |
To create a domain alias example.net for the domain plesk bin domalias --create example.net -domain example.com or plesk bin domalias -c example.net -domain example.com |
--update or -u |
<alias_name> |
Updates configuration of an existing domain alias with the data specified in the options. |
To enable mail service on the domain alias example.net: …
|