How to get root domain working properly - custom domain in CDN using my own cert for HTTPS

techbrett 20 Reputation points
2023-09-18T02:31:52.6566667+00:00

Does anyone know how to get a root domain working properly for a static website in Azure? I;m doing the cloud resume challenge, and for example https://mydomain.com works and www.mydomain.com works by mydomain.com by itself doesnt work. I have a CDN setup and a CNAME added to my domain. I have my custom domain added to the CDN and enabled HTTPS with my own cert added in the Key Vault using PositiveSSL cert I bought from Namecheap. I'm thinking it may just need more time to fully propagate, but I'm not sure.

When I browse to https://www.mydomain.com the cert looks good and points to the digital cert from Sectigo (Namecheap). But when I go to the root domain mydomain.com the cert points to my Azure CDN but there is a trust mismatch. Does this just take more time or am I missing something?

Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
858 questions
Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
1,472 questions
{count} votes

Accepted answer
  1. KapilAnanth-MSFT 49,616 Reputation points Microsoft Employee Moderator
    2023-09-18T04:55:14.16+00:00

    @techbrett

    Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.

    I understand that you would like to Onboard Apex domain to Azure CDN.

    AFAIK, Azure CDN should support Apex domain as long as you are using Bring Your Own Certificate (BYOC).

    Refer : https://learn.microsoft.com/en-us/azure/cdn/onboard-apex-domain

    The propagation time are as follows,

    • For Azure CDN Standard from Microsoft profiles, propagation usually completes in 10 minutes.
    • For Azure CDN Standard from Akamai profiles, propagation usually completes within one minute.
    • For Azure CDN Standard from Edgio and Azure CDN Premium from Edgio profiles, propagation usually completes in 10 minutes.

    However, I see you were able to configure the same using Azure Front Door.

    Kindly let us know if this helps or you need further assistance on this issue.

    Thanks,

    Kapil


    Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.