Add subdomain
subdomain_addAdd a subdomain and point it to a directory path. Configure redirect status and PHP version as needed.
Instructions
Create a subdomain pointing at a path (add_subdomain).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Docroot path relative to the account, e.g. /preview | |
| subdomain | Yes | Subdomain label, e.g. 'preview' | |
| domain_name | Yes | Parent domain, e.g. example.com | |
| php_version | No | ||
| redirect_status | No | HTTP redirect status (0 = none, 301, 302) |