kosa8 cloud preview domain
Serve a preview at your own hostname (custom domains)
Points a hostname of yours (app.example.com) at a sandbox's open preview. Add it here, then the CNAME (and any TXT) records it lists at your DNS provider; once they are seen and its certificate is issued, its status is active and https://app.example.com/ serves the port. Open the preview first (kosa8 cloud preview open ID PORT).
Also known as: domains
Example#
kosa8 cloud preview domain add sbx_abc 3000 app.example.com kosa8 cloud preview domain get sbx_abc 3000 app.example.com kosa8 cloud preview domain ls sbx_abc 3000 kosa8 cloud preview domain rm sbx_abc 3000 app.example.com
Subcommands#
kosa8 cloud preview domain addAdd a custom domain to a preview and print the DNS records to set
kosa8 cloud preview domain getShow a custom domain's status and the DNS records it still needs
kosa8 cloud preview domain lsList a preview's custom domains
kosa8 cloud preview domain rmRemove a custom domain from a preview