Custom Domains in Azure App Services Wordpress Web App: Point to App or to CDN

massad 65 Reputation points
2023-10-16T16:17:28.05+00:00

I have a Wordpress site on Azure App Services. The setup automatically created a CDN endpoint.

Should I point my custom domain to the IP address of the Web app, or use a CNAME and point it to the CDN endpoint?

Azure Content Delivery Network
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,269 questions
{count} votes

Accepted answer
  1. ChaitanyaNaykodi-MSFT 24,231 Reputation points Microsoft Employee
    2023-10-17T00:13:24.8633333+00:00

    @massad

    Thank you for reaching out.

    You will have to use a CNAME and point it to the CDN endpoint as described here.

    The custom domain should resolve to Azure CDN endpoint, as it will provide cached response to the clients and will have less latency. The CDN endpoint will serve the data from its origin (Web App) to provide any un-cached response.

    Hope this helps! Please let me know if you have any additional questions. Thank you!


    ​​Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


0 additional answers

Sort by: Most helpful