infomaniak_add_site_aliases
Add one or more additional domain names, including wildcards, to an existing web hosting site. The site's Apache configuration automatically serves those domains without needing to create a new site.
Instructions
Bind one or more additional FQDNs (including wildcards like *.example.com) to a web hosting site. Lets the site's Apache vhost / DocumentRoot serve those new domains too — no new site provisioning required. Two-phase commit. Asynchronous: returns a progress_id; the alias appears in infomaniak_list_site_aliases after a few seconds of provisioning. Manager-private.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hosting_id | Yes | ||
| site_id | Yes | ||
| aliases | Yes | One or more FQDNs to bind to the site. WILDCARDS ARE ACCEPTED (e.g. `*.evo.broz.be`) — use this pattern to serve any subdomain from a single WordPress install. The DNS for each alias must already point to the hosting's IP, otherwise Apache will respond but the browser will never reach it. | |
| confirmation_token | No | Token from the prior plan response. Required on the apply phase only. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||