Openbalena sub-subdomains

Is it possible to use multi-level subdomains for the openbalena subdomains? For example:

api.balena.mydomain.com, registry.balena.mydomain.com, etc?

I ask because I’d like to be able to use a single domain for both openbalena and other services which also use the api subdomain. Currently I have a specific domain just for openbalena but its a little wonky to manage.

Yep, I have been running like that for about 4 months now.

1 Like

Did you config that manually rather than the quickstart scripts? Or did it work when running something like this:

./scripts/quickstart -U <email@address> -P <password> -d subdomain.mydomain.com

It was a while ago now, but from what I recall I just passed the domain I wanted it to be hosted on: subdomain.mydomain.com

Got to make sure you have the right forwarding setup too. I am using CloudFlare:

Type A: subdomain → IP address (no proxying)
Type CNAME: api.subdomain —> subdomain.mydomain.org

and so on for the other required forwards.

1 Like

Excellent thanks, ill give that a try. :+1: