Create domain
laravel_cloud_create_domainCreate a new domain for a Laravel Cloud environment. Configure options like WWW redirect, wildcard subdomain, Cloudflare strategy, and verification method.
Instructions
Create a new domain for the given environment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Domain name, e.g. example.com. | |
| environment | Yes | Environment ID. | |
| www_redirect | No | WWW redirect behavior. | |
| allow_downtime | No | Allow downtime during verification (flexible mode). | |
| wildcard_enabled | No | Enable a wildcard subdomain (*.example.com). | |
| cloudflare_strategy | No | Cloudflare DNS strategy. | |
| verification_method | No | Domain verification method. |