Host Sitefinity CMS and the 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:
- Set up a 64-bit process in the App Service platform configuration.
To do this, perform the following:
- In the Azure portal, click your service.
- Under Settings, click Configuration.
- Click General settings.
- In Platform dropdown box, select 64 Bit.
- Restart the app service.
- 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:
- In the Azure portal, click your service.
- In the sidebar, under Development tools section, click Advanced Tools » Go.
- In the Kudu console, expand the Site extensions.
- Search for the Application Gateway Host Rewrite Module and follow the installation instructions.
- Restart the Kudu service.