Request Packet Structure
A request XML packet creating a new domain alias in Plesk database includes the create operation node:
<packet version="1.4.2.0">
<domain_alias >
<create>
¡
</create>
</domain_alias>
</packet>
The create node is presented by the AliasInfoType type (plesk_domainalias.xsd). Its graphical representation is as follows:

- The status node is optional. It specifies the status of a domain alias. For more information, see the Domain Alias Settings section. Data type: string. Allowed values: ok | error.
- The pref node is optional. It specifies preferences of a domain alias. For more information, see the Domain Alias Settings section. Data type: none.
- The manage-dns node is optional. It defines if you can manage DNS zone for the domain alias.
Note: This node is supported starting from API RPC v.1.5.0.0. Data type: boolean.
- The domain_id node is required. It specifies the id of the primary domain. Data type: integer.
- The name node is required. It specifies the name of the primary domain. Data type: string (Unicode).
- The ascii-name node is optional. It specifies the name of the primary domain. Data type: string (ASCII).
Remarks
The ascii-name node is supported by API RPC 1.4.2.0 and later versions.