just create a name records to the same IP so they all point to the same location. Or you can just set cname records to one host record so they point to the same place.
I set these two records so I can auto create new subdomains and they auto work.
*.domain www.*.domain
This allows me to create anything.domain and it points to the same server, and letsencrypt will work also.