Skip to content
Firefly Plus
Docs menu
Docs / Run your app

Custom domains

Serve your app on your own domain over HTTPS, with a certificate that renews itself.

Every app with a web process is served at https://<app>.fireflyplus.site. You can add your own domains too, such as example.com or www.example.com. They’re served over HTTPS, with certificates we get and renew for you.

Adding a domain

  1. Open your app’s Domains page, and choose Add domain.
  2. Under Domain, enter an apex domain like example.com, or a subdomain like www.example.com.
  3. Choose Add domain.
  4. The Domains page shows the records to create. Create them at your DNS provider, using Copy for each value.

We check for the records every minute at first, then less often, with no need to click anything. DNS changes can take a while to reach everyone.

Wildcard domains, such as *.example.com, aren’t supported. Each app can have a number of domains set by your limits. See Limits.

The records

You create two kinds of record. The Domains page shows exactly what to enter for each domain.

  • A TXT record proves the domain is yours. Its value is unique to this domain on this app.
  • A record that points the domain at us:
    • for a subdomain, a CNAME to <app>.fireflyplus.site;
    • for an apex domain, A and AAAA records with our addresses.

Some apex domains look like subdomains, such as example.co.uk. For those, choose It’s an apex domain on the page to see the A and AAAA records.

If your domain has CAA records, they must allow Let’s Encrypt, which issues the certificates.

Statuses

Status What it means
Pending verification Waiting for the TXT record
Pending DNS We found the TXT record; now point the domain at us
Issuing Your records are right; the certificate takes a minute or two
Active Served over HTTPS
Error Something’s wrong; the page says what

If we haven’t found the records after several days, the domain shows Error. Fix the records, then choose Check again.

Certificates

  • The certificate renews itself, well before it expires.
  • An active domain stays active while its certificate is valid, even if you change its DNS.
  • If a renewal fails, for example because the domain points elsewhere now, we email you before the certificate expires. Fix the records and it renews.
  • If it expires anyway, the domain shows Error and stops being served. Check again starts over.

HTTPS only (HSTS)

Visitors who use plain HTTP are always redirected to HTTPS. HSTS goes further: browsers stop trying HTTP at all.

  1. On Domains, find Tell browsers to always use HTTPS (HSTS).
  2. Choose Turn on.

It covers your app’s default address and all its custom domains. Browsers that have visited then refuse plain HTTP for a year, even if you turn it off later. It doesn’t cover your other subdomains.

Removing or moving a domain

Remove domain stops serving it at once. Remove its records at your DNS provider too, or the domain still points at us.

To move a domain to another of your apps, remove it from one, then add it to the other.

A domain in use elsewhere

A domain can be on only one app at a time, across every account.

If you add a domain that’s active on someone else’s app, the page says so. Add the TXT record shown: once we find it, the domain moves to your app, and its previous owner is told. A TXT record left behind by an earlier owner never counts, since each domain gets its own value.

Something unclear? Email support@firefly.plus.