So while A records connect websites to IP addresses, CNAME records connect subdomains and aliases to the another domain record, not its IP address.
However, it’s quite likely that your website won’t function successfully without CNAME records, as well. Even if your website consists of a single page, you’ll at least need to create a CNAME record for www targeting the parent domain.
Additionally, A records connect the parent domain to its IP address, while CNAME records connect domain aliases and subdomains to the parent domain. It’s through the A record of the parent domain that users can access the site’s content. CNAME records can’t be used for creating direct associations with IP addresses.