Add a domain
site_add_domainBind one or more additional domains to an existing aaPanel site by specifying its website ID, primary domain, and newline-separated domains. Ensure the primary site name is also added to DNS.
Instructions
Bind an extra domain to an existing site. Newline-separated values add several at once. The site name must also be added to DNS.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Website id. | |
| domain | Yes | Domain to add, e.g. www.example.com. Omit :80 and separate multiples with newlines. | |
| webname | Yes | Primary domain of the site. |