Add domain to pages project with A record

I run a SaaS on pages. Customers can add their own domain by pointing two CNAME records (www and root-level) to customer.mydomain.com. The deployed page handles redirects from non-www to www or www to non-www, depending on the customers choice.

The problem is that some customers use a domain registrar/DNS provider that does not allow adding a CNAME record at root level.

In this case I tell them to create a CNAME record only under www and create a permanent redirect to www at the root level. Which is a problem if their previous setup redirects www to the root level. In this case I recommend them to switch their DNS provider.

Both is more complicated than adding an A record.

Is there a way to let my customers add an A record instead of the CNAME at root level?
Was this page helpful?