Host the Renderer behind a CDN

Domain management

When hosting behind a CDN, such as Cloudflare or Amazon CloudFront, you need to configure the CDN network, the Renderer, and Sitefinity CMS.

A typical CDN hosting configuration would look in the following way:

Rendered and CDN

Configure the CDN provider

The CDN must forward to the Renderer and Sitefinity CMS a host header that contains the original host name.

RECOMMENDATION: We recommend setting this header value to X-Original-Host to comply with the setup described in Host Sitefinity CMS and the ASP.NET Core Renderer on the same IIS or Hosting configurations » Configure the Renderer for Azure App Services.

The Renderer automatically forwards this value to Sitefinity CMS. Afterwards, Sitefinity CMS uses the header value to build the absolute URLs.

Configure caching

By default, the responses from the Renderer are returned with a cache-control header value that allows requests to be cached on CDNs and public nodes.
For more information about further configurations, see Configure output cache.

CDNs respect this header and cache the response from the Renderer for the specified time.

Configure SSL offloading

If the CDN acts as an SSL offloader, you must configure Sitefinity CMS to build the absolute URLs, using the SSL offloading mechanism. 

For more information, see SSL offloading.


Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Get started with Integration Hub | Sitefinity Cloud | Sitefinity SaaS

This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.

Web Security for Sitefinity Administrators

This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?