Getting started
Custom domains
For your agentCopy this and give it to the AI you're building with.
Serve this project on my own domain (ask me which one): run `cubek domains add <domain>` and tell me the DNS records to create. For both www and the apex, add both and redirect one to the other with `cubek domains redirect`. Once I have created the records, run `cubek domains verify <domain>` until it is verified, then reply with the https URL.
Your agent runs these commands from the prompt above and tells you which
DNS records to create. Every project answers at <project>.cubek.app. To serve it from your own
domain, add the name and point DNS at the project.
cubek domains add www.example.comPoint DNS
- Subdomain (
www.example.com,app.example.com): aCNAMEtomy-app.cubek.app. - Apex (
example.com): use your DNS provider's CNAME flattening (ALIAS/ANAME) tomy-app.cubek.app, or theA/AAAArecords thatcubek domains addlists.
Domains are verified automatically; cubek domains verify <host> checks
now. A certificate is issued as soon as the domain is verified.
cubek domains verify www.example.com
cubek domains listwww and apex
Add both names, then redirect one to the other (308, path and query kept):
cubek domains add example.com
cubek domains redirect www.example.com example.comA verified domain that stops pointing to cubek is marked lost: it keeps
serving with its current certificate and is un-verified after 30 days.
cubek domains remove www.example.com detaches a name: it stops being
served, its certificate is no longer renewed and a redirect to it is dropped.