LogoFreestyle

Domains CLI

Use the Domains CLI for verification and routing mappings.

Prerequisites

  • Set FREESTYLE_API_KEY in your environment.
  • Run commands as npx freestyle ....

Verify a domain

Create a verification request (prints the TXT record details):

npx freestyle domains verify example.com

Complete verification by domain:

npx freestyle domains complete --domain example.com

Or complete by verification ID:

npx freestyle domains complete --verification-id <verification-id>

List verification requests:

npx freestyle domains verifications

List verified domains

npx freestyle domains list

Manage domain mappings

Map a domain to a deployment:

npx freestyle domains map app.example.com --deployment-id <deployment-id>

Map a domain to a VM port:

npx freestyle domains map app.example.com --vm-id <vm-id> --vm-port 3000

List mappings:

npx freestyle domains mappings

Delete mapping:

npx freestyle domains unmap app.example.com

JSON output is supported via --json on list and write operations.

On this page

Freestyle AI

Documentation assistant

Experimental: AI responses may not always be accurate—please verify important details with the official documentation.

How can I help?

Ask me about Freestyle while you browse the docs.