manage-domain
What it does
Section titled “What it does”Manages custom domain configuration for a Mistflow project. Can add a new domain, check verification status, or remove an existing domain.
| Parameter | Type | Required | Description |
|---|---|---|---|
projectPath | string | No | Path to the project directory (default: cwd) |
action | string | Yes | One of: add, verify, remove |
domain | string | Yes | The domain name (e.g., myapp.com) |
Actions
Section titled “Actions”Registers the domain and returns DNS records the user needs to configure:
- A
CNAMErecord pointing to the project’s.mistflow.appsubdomain - A
TXTrecord for domain ownership verification
verify
Section titled “verify”Checks if DNS records are properly configured and activates the domain if verified. SSL is provisioned automatically.
remove
Section titled “remove”Removes the custom domain from the project. The .mistflow.app subdomain continues to work.
- See the Custom Domains guide for a full walkthrough.
- DNS propagation can take 1-10 minutes (up to 48 hours in rare cases).