VK Cloud logo

Failed to create a CNAME record for the root domain

When attempting to create a CNAME record for the root domain (second-level domain), an error occurs. According to DNS standards (RFC), a CNAME record cannot be created for the root domain (APEX, for example, example.com), only for subdomains (www.example.com).

Solution

For the root domain, use an ALIAS (or ANAME) record if your DNS provider supports it. DNS from VK Cloud supports creating ALIAS records for such scenarios.

Was this article helpful?