impreza_change_domain
Change the clearnet hostname of a running deployment without touching its container or data. The agent updates Caddy and reloads with zero downtime, and Let's Encrypt issues a fresh certificate on first hit.
Instructions
Re-route a RUNNING deployment to a new clearnet hostname without touching its container or data. The agent regenerates its Caddy fragment + reloads zero-downtime; Let's Encrypt issues a fresh cert on the first hit. Use to migrate from an auto-subdomain to a custom domain, or vice-versa, or just to rename. Deployment must be in status=running (Phase 9.19).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | New clearnet hostname (no scheme). Must differ from the current one. | |
| deployment_id | Yes | The dpl_... id to re-route. |