0
votes

I have multiple services on my azure account, and I like to to have only one custom domain. My goal is to have following mapping:

  • someapp.azurewebsites.net -> mydomain.com:443/someapp
  • someapp2.azurewebsites.net -> mydomain.com:443/someapp2
  • somedb.database.windows.net -> mydomain.com:1433

Is that possible? Using subdomains and wildcard certificate is not an option.

1

1 Answers

0
votes

The demand you provided is not mapping custom domain to azure webapp, it just a url rewrite.

You can create CNAME record to map your custom domains to each web app. Like below and when visit children url, it will be clearly.

someapp.azurewebsites.net -> someapp.mydomain.com:443
someapp2.azurewebsites.net -> someapp2.mydomain.com:443

For azure sql you could refer to this article to map to custom domain.