Core Difference
Both record types point traffic to another target, but they have different root-domain behavior.
Recommended workflow
- CNAME points one hostname to another hostname (for example, www).
- CNAME is typically not allowed at the root domain in standard DNS.
- ALIAS behaves like CNAME but can be used at root domain in supported DNS systems.
- Choose record type based on your DNS provider capabilities and target architecture.
