The domalias.exe
utility is designed to manage domain aliases. The
utility allows the following operations:
- creating and deleting domain aliases
- viewing information about domain aliases
- enabling and disabling Web and mail services on domain aliases
Location
%plesk_cli%
Usage
domalias.exe <command> [<param>] [
<option 1> <param> [<option 2> <param>] ... [<option N> <param>]
]
Example
The following command creates domain alias example.com for domain
example.net, sets the status of the domain alias to that of the parent
domain example.net, and enables mail service on the domain alias.
plesk bin domalias.exe --create example.com -domain example.net -status parent -mail true
Commands
Command | Parameter | Description | Example |
---|---|---|---|
--create or -c |
<alias_name> |
Creates a new domain alias. Requires |
To create a domain alias example.com for domain example.net plesk bin domalias.exe --create example.com -domain example.net |
--update or -u |
<alias_name> |
Updates configuration of an existing domain alias with the data specified in the options. |
To enable mail service on domain alias example.com: …
|