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:
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.
X-Original-Host
The Renderer automatically forwards this value to Sitefinity CMS. Afterwards, Sitefinity CMS uses the header value to build the absolute URLs.
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.
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.
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.
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.
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.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important