Skip to the page

build / domains

Your own domain

Every service has its address reserved under its project: my-site.00b5e2.app for the main site, api.my-site.00b5e2.app and so on for the rest. Add your own domain to any open service and HTTPS is automatic.

Addresses on 00b5e2.app

The address of a service is <service>.<project>.00b5e2.app, and the same on 00b5e2.dev for development and previews. Sites and APIs are open; the rest are closed until you open them.

serviceproductiondevelopment
webmy-site.00b5e2.appmy-site.00b5e2.dev
docsdocs.my-site.00b5e2.appdocs.my-site.00b5e2.dev
apiapi.my-site.00b5e2.appapi.my-site.00b5e2.dev
dbclosed, reserved: db.my-site.00b5e2.appclosed

Each project has one wildcard certificate, *.my-site.00b5e2.app, so a new service is on HTTPS the moment it is live.

Add a domain

In the project, open domains and add it to a service, or from the terminal. Without --service it goes to the main site:

terminal
$ 00b5e2 domains add noa.studio
■ noa.studio added for web, waiting for DNS
$ 00b5e2 domains add book.noa.studio --service api
■ book.noa.studio added for api, waiting for DNS

Verify it's yours

Add this TXT record where your domain lives. Once a domain is verified, its subdomains need no other TXT:

typenamevalue
TXT_00b5e200b5e2-verify=k3n9x2

Point it

typenamevalue
CNAME@my-site.00b5e2.app
CNAMEwwwnoa.studio

The root points at the .app address of its service, so it follows the service wherever it runs, and www points at the root. Cloudflare flattens a CNAME at the root for you; other providers call it ALIAS or ANAME. If yours has neither, move your DNS to Cloudflare, it is free. www redirects to the root.

HTTPS

The certificate is issued as soon as the records resolve, usually in under a minute, and renews itself.