domains_create
Create an additional domain on a DirectAdmin user account, setting bandwidth, quota, SSL, CGI, and PHP options. Admin can impersonate another user when adding the domain.
Instructions
Create an additional domain on the current (or impersonated) user.
Args: domain: FQDN to add. bandwidth: MB or 'unlimited'. quota: MB or 'unlimited'. ssl: Enable SSL for the domain. cgi: Enable CGI. php: Enable PHP. impersonate: Owning user (admin should set this). confirm: Required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cgi | No | ||
| php | No | ||
| ssl | No | ||
| quota | No | unlimited | |
| domain | Yes | ||
| confirm | No | ||
| bandwidth | No | unlimited | |
| impersonate | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |