A CNAME (canonical name) record makes one name an alias of another, so the alias follows wherever the target points. Under the DNS standards, a CNAME cannot sit at the zone apex (the root domain itself), which is why some providers offer proprietary workarounds for root domains.