Custom domain free Certificate between Container App and FrontDoor

Stefano Mancin 21 Reputation points
2024-12-31T16:22:08.75+00:00

I want to configure FrontDoor with WAF to expose a container app based on a WordPress image. How can I configure the same custom domain in the container app and in FrontDoor?

It seems that in order to use a free SSL certificate as per the container app documentation, the CNAME record must point directly to the container app without any intermediate CNAME. However, I need Front Door to be the first point of access.

What are the best practices for configuring this setup? Thanks

Azure Container Apps
Azure Container Apps
An Azure service that provides a general-purpose, serverless container platform.
494 questions
{count} votes

Accepted answer
  1. VenkateshDodda-MSFT 23,436 Reputation points Microsoft Employee
    2025-01-03T06:31:23.8666667+00:00

    @Stefano Mancin Thanks for your response.

    Please go through the Host name preservation - Azure Architecture Center | Microsoft Learn

    • This states that the backend and the reverse proxy should use the same domain
    • As this avoids,
      • Incorrect absolute URLs
        • Incorrect redirect URLs
          • Broken cookies

     

    In our particular case,

    • The Free certificate requirements states that "Mapping to an intermediate CNAME value blocks certificate issuance and renewal."
    • This is a limitation from "Free certificate"
    • For non-production workloads,

     

    The recommendation is to BYOC (Bring your own certificate)

    As of now, there are no plans to integrate the ACA free certificate with AFD or CDN.

    Hope this helps, let me know if you have any further questions on this.

    1 person found this answer helpful.

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.