I purchased a domain on Vercel, treeauth.com, for a project that I have deployed on Render. On Render, the domains are verified, but an SSL certificate is not being issued.
Current Behavior
After troubleshooting with both Render and Vercel support bots, it was concluded that the issue is caused by two Vercel-managed DNS records configured for my domain:
Name: *
Type:ALIAS
Value:cname.vercel-dns-017.com
_______________________
Type:ALIAS
Value:cname.vercel-dns-017.com
Both the Render and Vercel bots suggested deleting these records to resolve the conflict. However, I cannot delete them because they are marked as Vercel managed in the dashboard.
The domain troubleshooting guide can help with most custom domain configuration issues. You might be able to use that guide to solve it before a human is available to help you. Then you can come back here and share the answer for bonus points.
You can also use v0 to narrow down the possibilities.
When you purchase a domain through Vercel, it automatically creates ALIAS records pointing to cname.vercel-dns-*.com that cannot be deleted through the dashboard.
Could you add @ A or CNAME records for your root domain and www subdomain pointing to Render’s IPs? These will override the ALIAS records.
Again, the Vercel bot and Render bot, having been given this information, both concluded that the issue is those two ALIAS records managed by Vercel. Please let me know how to proceed.
Instead of trying to override it, see if you can just leave the Name field completely blank or use a subdomain that doesn’t exist. This might prevent it from conflicting.
Or use specific CA values
Try adding CAA records with actual certificate authorities:
Could you also share what the actual error is on Render?
Can you share the exact error message from your Render dashboard when it tries to issue the SSL certificate? That will tell us if CAA is really the problem or if it’s something else.
This is as much as I am able to ascertain, Render does not appear to provide any specific information. I will also say that I receive the same screen when looking at the configuration for www.treeauth.com (except, of course, that it says www.treeauth.com on that one instead of just treeauth.com)
I went ahead and added those CAA records with actual certificate authorities like you suggested, except for 0 issue “letsencrypt.org” as Vercel automatically added that as a DNS record.
As of right now I am still getting the certificate error.
So this might be one you’ll have to go to Render’s community or support, because it seems like it’s on their side. However, can you try adding these CAA records in Vercel:
The issue does appear to have been on Render’s end, but not what I would have expected. When configuring a custom domain on Render, it automatically will create a redirect for you. So, for example, if you designate www.whatever.com as your domain, it tells you “whatever.com will redirect to www.whatever.com” and vice versa. This issue literally only was happening because I wanted www.treeauth.com to redirect to treeauth.com. However, designating it such that treeauth.com redirects to www.treeauth.com was apparently the resolution. This ultimately is not what I wanted, but I would rather a working domain than no domain at all.