Paul.B
Paul.B

Reputation: 51

Azure web service root domain works but not www subdomain

I have an Azure web app to which I have mapped a custom domain from another registrar. The root domain works fine and is secured with a (free) Azure SSL cert. I have not been able to get the www. subdomain to work. (It is also secured with an Azure SSL cert.)

I have followed these three articles that detail the method to Map an existing custom DNS name to Azure App Service, Add a TLS/SSL certificate in Azure App Service, and Secure a custom DNS name with a TLS/SSL binding in Azure App Service.

When I browse to the example web app, astroguru.com, it displays a simple blazor server starter page as it should. If I browse to www.astroguru.com, I get a page not found with info icon in the address bar that says the site is not secure, as shown below: enter image description here

Below are the DNS records that I have created exactly as described in the first article ref'd above, which include (and see image below):

The image below shows the two secured URLs from the Azure portal. Custom Domain Names

The image below shows the two private key certs in the Azure portal that secure the two URLs above: Privat Key Certs

Can someone tell me what I've done wrong here?

Upvotes: 1

Views: 1002

Answers (1)

Paul.B
Paul.B

Reputation: 51

Had to recreate the certificate and rebind.

Upvotes: 0

Related Questions