Configuring Cloudflare DNS
To configure Cloudflare for custom domains, we need to set up
CNAME records for all the domains you want to point to your Render app. In this guide, we’ll configure Cloudflare for
AAAArecords for your domains when you update your DNS settings.
AAAArecords map a domain to a corresponding IPv6 record, but Render does not support IPv6 addresses yet. As a result,
AAAArecords can interfere with Render hosting your custom domains.
Log into Cloudflare, and go to the Crypto settings for your domain. Set SSL to
Go to the DNS settings for your domain:
Add a CNAME record for
example.comto point to your Render subdomain which looks like
Make sure to click on the orange cloud to make it gray. This ensures your requests go to Render instead of Cloudflare.
Add another CNAME record for your
wwwdomain . Again, toggle the cloud icon so to make it gray instead of orange.
The final configuration should look something like this:
That’s it! DNS changes can take a few minutes to propagate, but once they do you should be all set.