I was under the impression that netlify would issue certificated for all my domains, but it seems that I must explicitly request for a new certificate in case I add a new subdomain and DNS is self-managed.
I got an automatic cert for my custom domain
netlify.domain.com but wanted to set up a branch subdomain to
dev.domain.com. That didn’t work, as I was met with a 404 not found error. I then changed the branch subdomain to
dev.netlify.domain.com, after which the 404 errors were gone and the page worked well, but I didn’t have a cert for that. I was asked to request support for that. and since I might change branches in the future, I thought might as well get a wildcard.
So I guess I have to follow the naming scheme, branch subdomains must be a subdomain of whatever is the site domain?
So I just issued myself a
netlify.domain.com certs .