Part of Hosting by frameworkHosting · Domains

Point a domain at your app: A, CNAME, apex and www.

Subdomains like www get a CNAME to your app’s hostname. The bare domain (the apex) can’t hold a CNAME, so it gets an ALIAS, ANAME or flattened CNAME if your DNS provider has one, or an A record to the host’s IP if not. Pick one canonical name and 301 the other to it.

Facts checked

Which record goes on which name

A CNAME says “this name is another name; go ask about that one”. That is what you want for a host whose IP address can change: you point at its hostname and it keeps the addresses current. The catch is the apex. example.ca itself already carries the zone’s SOA and NS records, and probably MX and TXT for mail, and DNS does not let a CNAME share a name with anything else.

On Canner, the dashboard shows the records for the exact domain you added. They all point at your project’s own hostname, <project>.canner.app, so if Canner’s address ever changes, nothing in your zone has to:

  • The A record is the fallback. It works with every DNS provider, but it pins today’s IP (72.10.163.170). If that ever changes, you edit the record by hand.
  • Don’t keep two answers on one name. An A record and a CNAME on the same name is invalid, and resolvers disagree about which one wins: some send visitors to Canner, others to a host with no certificate for your domain. Canner flags a stray CNAME next to your A record.
  • Custom domains need a paid plan. Starter projects are served on <project>.canner.app only. See pricing.
Name             Type          Value
@                ALIAS/ANAME   your-project.canner.app
www              CNAME         your-project.canner.app
app              CNAME         your-project.canner.app

# No ALIAS/ANAME or flattening at your DNS provider? Use an A record on the apex:
@                A             72.10.163.170
DNS providerCNAME-like record at the apexCan it point at any hostname?
Plain DNS (the standard) †None: “A CNAME record is not allowed to coexist with any other data.”Use an A record.
Cloudflare †CNAME flattening, on by default for a CNAME at the zone apex, on all plansYes
DNSimple †ALIAS record, which looks up the target’s A/AAAA addresses on the flyYes, and other records on the apex keep working
AWS Route 53 †Alias recordNo: only selected AWS resources or another record in the same hosted zone. Use an A record.

† Competitor details come from each vendor’s own published pages on the dates shown; prices and plans change, so check the vendor before you decide. Plain DNS (the standard) (2026-10-29) · Cloudflare (2026-10-29) · DNSimple (2026-10-29) · AWS Route 53 (2026-10-29)

Apex or www: pick one, redirect the other

Both names should work, because people type both. Only one should serve pages, so search engines see one site instead of two copies. The other answers with a permanent 301 to it, path and query intact.

On Canner, add the apex as the domain and turn on Serve www and redirect to the apex. www.example.ca then redirects to example.ca. The redirect needs its own certificate, so www still needs its record (the CNAME above). Adding www.example.ca as the domain does the same thing: it is stored as the apex with the www redirect on.

If you would rather have www as the canonical name, add www.example.ca as its own domain and redirect the apex at your DNS provider or registrar, if it offers a redirect service. If www already exists as a separate domain, the toggle refuses with www.example.ca is already added as its own domain. Remove it first, then turn this on.

Check the records yourself before you press Verify

Canner checks DNS through a public resolver when you press Verify, and re-checks pending domains every hour. You can see the same answer it will see with dig:

  • `No A record. Point a CNAME at your-project.canner.app (or an ALIAS/ANAME if this is an apex domain), or an A record at 72.10.163.170 as a last resort.` Nothing resolves yet, or the record is on the wrong name. Putting the apex record on www (or the reverse) is the usual mix-up: in most DNS panels the apex is written @.
  • `Resolved to <your old host’s IP> but expected 72.10.163.170.` The old answer is still cached (check its remaining TTL with the +noall +answer form), or the old A record is still there next to the new one.
  • `Resolved to <addresses you don’t recognise> but expected 72.10.163.170.` Usually a proxy in front of the record. On Cloudflare, set it to DNS only (grey cloud), at least until the certificate is issued.
  • Changed nameservers instead of records? Resolvers can keep the old delegation for up to a day. Copy your MX, TXT (SPF, DKIM) and other records to the new provider before you switch, or mail stops with the website.
# What the apex resolves to (should include 72.10.163.170)
dig +short example.ca A

# Is www a CNAME, and where does it end?
dig +short www.example.ca

# Ask a public resolver, not your ISP's cache
dig +short example.ca A @1.1.1.1

# The TTL still left on a cached answer (second column)
dig example.ca A +noall +answer

# Any CAA records? If there are, one must allow letsencrypt.org
dig +short example.ca CAA

# Leftover IPv6 from the old host
dig +short example.ca AAAA
What blocks the certificateWhy
The name doesn’t reach the host yet †Let’s Encrypt’s HTTP-01 check connects to the domain, on port 80 only, and fetches a token. It has to land on the server asking for the certificate.
A CAA record that doesn’t list letsencrypt.org †CAA records name the certificate authorities allowed to issue for the domain. Add 0 issue "letsencrypt.org", or remove the CAA records.
A CNAME on a name that also has other records †Invalid DNS; resolvers return different answers, and the check may reach the wrong host.
A long TTL on the old record †Resolvers keep serving the old answer until it expires. Cloudflare’s Auto TTL, for example, is 300 seconds; check what yours is set to.

† Competitor details come from each vendor’s own published pages on the dates shown; prices and plans change, so check the vendor before you decide. The name doesn’t reach the host yet (2026-10-29) · A CAA record that doesn’t list `letsencrypt.org` (2026-10-29) · A CNAME on a name that also has other records (2026-10-29) · A long TTL on the old record (2026-10-29)

Wildcard domains: every subdomain from one project

For a SaaS that gives each customer acme.example.ca, add *.example.ca once. It needs two CNAMEs, both shown in the dashboard: *.example.ca to <project>.canner.app for the traffic, and _acme-challenge.example.ca to a <token>.acme.canner.app name. The second delegates Let’s Encrypt’s DNS-01 challenge to Canner, which is how a wildcard certificate gets issued and renewed without Canner having access to your DNS. Keep it in place.

A wildcard covers one level (acme.example.ca, not a.acme.example.ca) and not the apex itself, so add example.ca separately. A domain added by name wins over the wildcard. Your app tells tenants apart by the Host header; frameworks that check it, like Django’s ALLOWED_HOSTS, must allow the pattern (see DisallowedHost and CSRF).

Moving a domain from another host without an outage

DNS changes don’t flip everyone at once. Each resolver keeps the old answer until its TTL runs out, so for a while some visitors reach the old host and some reach the new one. Plan for both to work during that time.

  • 1. A day ahead, lower the TTL on the records you will change, to 300 seconds or less. The lower value only takes effect once the old TTL has run out, so do it at least one old TTL before the switch.
  • 2. Deploy on the new host and test it on its own address (https://<project>.canner.app). Add the custom domain to any host allowlist your framework keeps (notes per framework under hosting by framework), and set the environment variables the old host had.
  • 3. Decide what happens to the data. If the app writes to a database, two live copies will drift apart. Either stop writes on the old host for the switch, or have both point at the same database until the old one is retired. To bring a Postgres database across with the app running, see migrating Postgres.
  • 4. Add the domain on Canner, change the records, press Verify straight away. Canner can only request the certificate once the name resolves to it, so visitors whose resolver picks up the new record before verification can get a certificate error. Verifying immediately keeps that window short; the hourly re-check is the fallback, not the plan.
  • 5. Leave the old host running for at least a day after the change, and watch its access log. When requests stop arriving there, nothing is still using the old answer.
  • 6. Raise the TTL again (an hour or more) once everything has settled.

When this setup is the wrong fit

If your domain has to stay behind a CDN or proxy that hides the origin (Cloudflare’s orange cloud, for instance), verification and the first certificate need the record set to DNS only. Canner serves from one region, Montréal, with no failover to a second address, so DNS-based failover between regions is not something it can be part of today.

Questions

Why can’t I put a CNAME on my root domain?

The root (apex) of a zone always has SOA and NS records, and DNS forbids a CNAME from sharing a name with any other record. Use your provider’s ALIAS, ANAME or CNAME flattening, or an A record pointing at the host’s IP.

Should I use www or the bare domain?

Either works. Pick one as canonical, make the other 301-redirect to it, and make sure both names have DNS records and certificates. On Canner, add the apex and turn on the www redirect.

How long does a DNS change take?

As long as the TTL on the old record, for resolvers that cached it; often minutes, sometimes hours. Nameserver changes can take up to a day. Lower the TTL a day before a planned switch.

What A record IP does Canner use?

72.10.163.170. The dashboard recommends an ALIAS/ANAME or CNAME to your project’s own canner.app hostname instead, so a future IP change needs no edit on your side.

Can I switch hosts with zero downtime?

Close to it: lower the TTL a day ahead, test the new host on its own address, switch the records, verify straight away, and keep the old host serving until requests stop arriving there. The data has to be handled separately.

Your domain, HTTPS included.

Certificates are issued and renewed for you, wildcards included. Custom domains come with the paid plans on pricing.