Errors
apex_not_supported
422: An apex cannot carry a CNAME.
An apex cannot carry a CNAME. Answered with 422.
What it means
A Custom Domain is served through a CNAME, and the apex of a zone cannot carry one: an apex would need an A record with a fixed IP address in the customer's own zone, which is the one case where a Tigby address change would need the customer's hands (ADR 0027). Whether a hostname is an apex is decided against the bundled Public Suffix List and not by counting labels, so customer.co.uk is refused and tunnel.customer.co.uk is not.
What to do
Point a subdomain such as tunnel.customer.com at the Tunnel, then create the Custom Domain for that hostname.
The body
{
"type": "https://tigby.eu/problems/apex_not_supported",
"title": "An apex cannot carry a CNAME",
"status": 422,
"detail": "…what was refused, naming this request's own values",
"code": "apex_not_supported",
"doc_url": "https://docs.tigby.eu/errors/apex_not_supported",
"agent_hint": "…the next step, for software"
}Branch on code. The detail names this request's own Handle, id or limit and is not part of the contract.