Host Sitefinity CMS and .NET Core Renderer on Azure App Services

Configure the Renderer for Azure App Services

If your project is hosted on Azure App Services, you need to make some specific settings, so that your Renderer application can communicate with Sitefinity CMS.

You need to make changes to the appSettings.json file of your Renderer application.

If you are using a domain for Sitefinity CMS other than the default azure domain, specified as yoursite.azurewebsites.net, open the appSettings.json file of the Renderer application and set the HostHeaderName settings to equal X-Original-Host by adding the following:

Configure Sitefinity CMS for Azure App Services

If your project is hosted on Azure App Services, you need to make some specific settings, so that your Sitefinity CMS can communicate with the Renderer application.

In addition to the above procedures, perform the following:

  1. Set up a 64-bit process in the App Service platform configuration.
    To do this, perform the following:
    1. In the Azure portal, click your service.
    2. Under Settings, click Configuration.
    3. Click General settings.
    4. In Platform dropdown box, select 64 Bit.
    5. Restart the app service.
  2. Rewrite the X-Original-Host header sent from the Renderer to Host header.
    To do this, install an additional extension from the Kudu console in the following way:
    1. In the Azure portal, click your service.
    2. In the sidebar, under Development tools section, click Advanced Tools » Go.
    3. In the Kudu console, expand the Site extensions.
    4. Search for the Application Gateway Host Rewrite Module and follow the installation instructions.
    5. Restart the Kudu service.

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?