hosting_createWebsiteSubdomainV1
Create a new subdomain for a website. Specify the subdomain prefix and optionally set a custom directory or use the website's public directory as the subdomain root.
Instructions
Create a new subdomain for the selected website.
Provide a subdomain prefix and, optionally, a custom directory or the website public directory to use as the subdomain root.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| username | Yes | username parameter | |
| domain | Yes | Domain name | |
| subdomain | Yes | Subdomain prefix to create under the selected website | |
| directory | No | Directory name for the subdomain relative to the website root | |
| is_using_public_directory | No | Use the website public directory as the subdomain root directory |