All spotlights

Product spotlight · May 2024

Give your apex domain the same redundancy as a subdomain

The Quant dashboard now lists multiple A records for apex domains, so your root domain gets the same redundancy through anycast routing as a subdomain with a CNAME record.

Updated Domains & DNS For developers

What changed in March 2024

The March 2024 changelog has the full details.

  • Multiple A records for apex domains March 2024

    The DNS guidance for apex (root) domains on the dashboard's Domains page now lists multiple A records.

  • Redundancy through anycast routing March 2024

    Through anycast routing, these A records give an apex domain the same redundancy as the CNAME records used for subdomains.

  • CNAME records stay for subdomains March 2024

    Subdomains such as www keep using CNAME records. The multiple A records are for apex domains only.

Who it is for

  • Sites on a root domain

    Serve your site at a root domain, such as example.com, with the A records that the Domains page lists for you.

  • Sites on subdomains

    Keep a CNAME record for www and your other subdomains. Use the A records only for the apex of the same domain.

  • Teams moving to Quant

    Read the records to create on the dashboard Domains page before you change them with your current DNS provider.

What it does

Quant serves each project on the custom domains that you add to it. The dashboard’s Domains page shows the DNS records to create for each domain. You create these records with your DNS provider, and they send traffic for the domain to Quant.

Some project settings, such as compression and HTTP/3, apply to all of the project’s domains. Page rules can also match a request by its domain.

How it works

A subdomain, such as www.example.com, uses a CNAME record that points to the target that the Domains page shows. An apex domain, such as example.com, cannot use a CNAME record, so the Domains page lists A records for it.

In March 2024, the DNS guidance for apex domains changed. The Domains page now lists multiple A records for an apex domain. These A records use anycast routing. Your apex domain then has the same redundancy as a subdomain with a CNAME record.

For example, if you serve both example.com and www.example.com, add them as two domains. Then create these records with your DNS provider:

  • For www.example.com: one CNAME record to the target shown.
  • For example.com: every A record that the Domains page lists.

Create the records that the Domains page shows for your own project. Do not copy targets from another project.

Get started

  1. Add your domain

    On the Domains page, add your domain. Enter only the host name.

  2. Add each host

    Add example.com and www.example.com as two domains if you serve both.

  3. Create the CNAME record

    For a subdomain such as www, create a CNAME record to the target shown.

  4. Create the A records

    For the apex, create every A record that the Domains page lists.

Related: Documentation · May 2024 changelog

Ready to try it on Quant?

Use custom domains on your own project, or read the docs first.