Custom Domain for Static Web App that isn't www possible?

Dave Slinn 1 Reputation point
2020-06-24T06:33:52.283+00:00

I have created a new Static Web App at https://calm-river-02866fe10.azurestaticapps.net/ and want to define a custom domain for it, but when I try to via Azure Portal, it requires a CNAME record in our DNS registrar with a host of www. However, we already have a www CNAME record for our main website. I would like this web app to run on a different subdomain - something like customapp.mydomain.com.

Is this possible, and if so, how do I accomplish this?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,693 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Anthony Chu - MSFT 856 Reputation points Microsoft Employee
    2021-05-12T23:47:22.503+00:00

    Any subdomain should work with CNAME. In addition, today it was announced that Static Web Apps is now generally available. As part of the announcement, it's now possible to use apex / root domains as well. https://learn.microsoft.com/en-us/azure/static-web-apps/custom-domain