Why is my site forwarded to www.domainname.com?

We would love to be able to offer CNAME records on the root domain, but using a CNAME in this way breaks RFC compliance and can result in DNS records not resolving.

So the way that the records for many services and platforms are set up, and what we do in our dashboard, is automatically forward the root domain "domainname.com" to "www.domainname.com" for services and sites that require a CNAME record.

The CNAME record points to the www variant of the domain, and the forwarding A record points to the root domain. Visitors to the website will be able to reach it using either version.

Note that this does not apply to DNS setups that only use two A records for the root domain and www variant or have setups without a CNAME record.