Clouzark

Custom domains

Serve a project from your own domain with automatic TLS.

Every project gets a default URL. To add your own domain:

clouzark domains add www.example.com

The CLI prints the DNS records to create at your DNS provider: a CNAME for subdomains, or an A record for an apex domain. Once the records are in place:

clouzark domains verify www.example.com

Clouzark checks the DNS and issues a TLS certificate automatically.

clouzark domains ls
clouzark domains rm www.example.com

Serve a branch

A domain serves production by default. It can serve one branch's newest live deployment instead, for example dev.example.com for the dev branch:

clouzark domains add dev.example.com --branch dev
clouzark domains route dev.example.com --branch dev     # an existing domain
clouzark domains route dev.example.com --production     # back to production
clouzark domains route old.example.com --redirect www.example.com --status 308
clouzark domains route qa.example.com --preview         # newest preview of any branch

In the dashboard, open the domain under the project's Domains tab and choose where it points.

On this page