I cannot seem to add a wildcard domain to an Azure App Service. I know I have done this in the past but I think the portal has changed.
There are several examples online of how to do this but all of them state you can enter a domain as "*.mydomain.com" which does not work thru the Azure portal.
I go into the my app's App Service page-->Custom Domains-->Add Custom domain. I select "All other domain services" and the Domain field appears. I want to enter *.mydomain.com but the portal will not allow an *.
How do you add a wildcard custom domain. I will have hundreds of subdomains in a multi-tenant app. I already have the wildcard cert and the CNAME and TXT records setup. Thanks
To add a
Wildcard Domainrefer the steps from this MS Document.Visit your Azure Web app > Custom Domains > For Wildcard domain to get accepted, Select Add certificate later option in TLS/SSL certificate > In domain add your wildcard domain like here:-
*.contoso.comNow visit your Domain registrar site and in the DNS records Add the below records for the Wildcard domain to work properly:-
In your
DNS Recordadd the aboveCNAMEandTXT records:-Reference MS Document.