Domains and URLs
The domain you gave andamio init is your server’s domain. Each app is a subdomain of
it, named after the app:
| When you create it | Its address |
|---|---|
andamio app create blog |
blog.yourdomain.com |
--host api |
api.yourdomain.com |
--host @ |
yourdomain.com (the root domain) |
--domain app.yourcompany.com |
app.yourcompany.com, besides its own |
If your server’s domain is itself a subdomain (lab.yourdomain.com), everything hangs from
it: blog.lab.yourdomain.com, api.lab.yourdomain.com.
Each address has its own Let’s Encrypt certificate, renewed on its own.
Why two DNS records
Section titled “Why two DNS records”You created yourdomain.com and *.yourdomain.com once. The * makes every new app
already point to your server: you don’t touch DNS again for blog, api or any other.
A domain of your own
Section titled “A domain of your own”For a domain that isn’t your server’s (api.yourcompany.com) or a deeper name
(v2.api.yourdomain.com):
- Point its
Arecord to your server’s IP. - Add it:
andamio app domain add myapp api.yourcompany.comandamio app domain list myappandamio app domain rm myapp api.yourcompany.comandamio checks that DNS already points to your server before asking for the certificate, and warns you if it doesn’t.
Private or public
Section titled “Private or public”Without --public, the app answers only inside your VPN: from the internet it doesn’t
even load. It’s the safest option for dashboards, admins and internal tools.