Hello,
We’ve been using Netlify for quite a few years now, and for the most part it’s been very good to us. We’re excited for Netlify to have raised their Series C funding and look forward to see what else Netlify will deliver in the future.
One of the only hurdles we currently still face, is the fact that we cannot seem to use a wildcard domain for our app in combination with Cloudflare and Netlify.
Due to multi tenancy and custom subdomains, and increased customer growth, a wildcard domain is becoming essential for us because manually adding subdomains and constantly re-issuing the certificate is not scalable.
We need to decide if we stay with Netlify or move to another build/hosting solution that will enable us to have wildcard domains, so this is a last attempt to hopefully figure out a solution that will allow us to stay with Netlify.
We will happily switch to the Pro plan today if a solution to this problem can be found. We have read all the support articles about this topic, and been in touch with Netlify support about this problem several times in the past.
Current setup
- Cloudflare is our DNS management, domain registrar and CDN for several S3 buckets
- We also use Cloudflare extensively for other features, like custom firewall rules to block certain requests and countries, DDoS protection, etc.
- Netlify is used to build and host our app front-end.
- Cloudflare is configured with CNAME records pointing to Netlify and using DNS only (grey cloud) as required.
This is working great, all unknown subdomains are redirected to Netlify, and provided the custom domain is registered there, it will pick it up and serve our app.
Problem
The problem is that we still have to manually add new subdomains to the list of custom domains and then wait for a new certificate to issue.
We would like to enable wildcards for our domain in Netlify, so that anything.helloclub.com (except www) will serve our app.helloclub.com site.
Last time we checked (mid-late 2019), support told us this was not possible without transferring our DNS management to Netlify.
Due to our reliance on Cloudflare for other features, which Netlify doesn’t offer and is unlikely to offer in the future, abandoning Cloudflare and moving our DNS over to Netlify is not an option.
As far as I understand, the problem is related to certificates, and Netlify can’t issue wildcard certificates for some reason without having control over the DNS.
Question
Is there a way, now in 2020, to enable wildcard support in Netlify for our domain, while keeping Cloudflare as our DNS management tool?
Or alternatively: is there a way to move our DNS management to Netlify so we can enable wildcard domains, while keeping the benefits of Cloudflare for our other subdomains?
If not: what are the current technical limitations preventing this, and are there plans to overcome these later this year (perhaps with the new $53M cash injection )?