Plesk

domalias.exe: Domain Aliases

The domalias.exe utility is designed to manage domain aliases. The
utility allows the following operations:

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 -domain option.

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:

Exit mobile version