# 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.

| service | production | development |
| --- | --- | --- |
| `web` | my-site.00b5e2.app | my-site.00b5e2.dev |
| `docs` | docs.my-site.00b5e2.app | docs.my-site.00b5e2.dev |
| `api` | api.my-site.00b5e2.app | api.my-site.00b5e2.dev |
| `db` | closed, reserved: db.my-site.00b5e2.app | closed |

> 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:

```sh
$ 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:

| type | name | value |
| --- | --- | --- |
| `TXT` | _00b5e2 | 00b5e2-verify=k3n9x2 |

## Point it

| type | name | value |
| --- | --- | --- |
| `CNAME` | @ | my-site.00b5e2.app |
| `CNAME` | www | noa.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.

Previous: [Cron jobs](https://docs.00b5e2.com/cron-jobs.md)
Next: [Sleep](https://docs.00b5e2.com/sleep.md)
