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

massad 65 Reputation points

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,006 questions
{count} votes

Accepted answer
  1. ChaitanyaNaykodi-MSFT 23,421 Reputation points Microsoft Employee


    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