we provide a multi-tenant experience for our customers using the same website but served at different subdomains. subdomains are dynamically issued, which means it’s impossible to make actual dns record entries for them. hence why we need wildcard cnames. previous support tickets i’ve seen seem to indicate that this feature is only available on request. i didn’t see any means to make this request via the dashboard, so here we are: would you be able to enable wildcard cnames for my site? i’m a pro customer.
Wildcard subdomains can be activated, but there are a few requirements:
The site must be on a Pro or above team.
The DNS must be managed by Netlify OR you need to bring a custom wildcard SSL certificate.
The site should not have any branch subdomains.
The site cannot use Automatic Deploy Subdomains, so please disable this feature if you are currently using it.
The primary domain of the website should be on the same level as the required wildcard domain. For example:
If you need the wildcard to be *.bar.domain.com where * can be your wildcard subdomain, the primary domain must be www.bar.domain.com (www can be replaced with any string).
You need to configure the DNS for the wildcard subdomain even in case you are using Netlify DNS. You can follow the external DNS configuration for subdomains and add a CNAME entry with * as the hostname or any other value that you want. The value of this DNS entry should be the Netlify site address.
If that sounds like something that would work, please let us know and we’d enable it for your site.