Migrate Sitefinity CMS project to Sitefinity Cloud
Supported versions of Sitefinity CMS
A new project in Sitefinity Cloud is always provisioned with the latest officially supported Sitefinity CMS version.
Projects that have already been created in Sitefinity Cloud are subject to an upgrade cycle, so that they can benefit from the latest product functionality and security updates. For more information about upgrading a Sitefinity Cloud project, see to Upgrade the project.
Existing Sitefinity CMS projects, hosted on-premises can be migrated to Sitefinity Cloud. To do this, you should complete the following steps:
1. Upgrade to latest officially supported version
You must first upgrade the project to the latest officially supported version of Sitefinity CMS.
For more information about upgrading Sitefinity CMS, see Upgrade procedure.
2. Turn on Auto storage mode for configurations
For more information, see Auto-storage mode of configurations.
3. Enable Multisite
In Sitefinity Cloud, all the projects have to use multisite.
For more information, see Migrate a single site to multisite with SiteSync.
4. Migrate search service to Azure Search
Default search provider in Sitefinity Cloud is Azure Search. It is automatically configured when your project is part of Sitefinity Cloud.
Because there are some specifics for Lucene search, before moving to the cloud, you can configure and test your project using procedure Setup Sitefinity CMS to use Azure Search.
5. Add Azure Application Insights support
Install Progress.Sitefinity.AppInsights NuGet package in your project.
6. Add Azure AD authentication support
- Install Microsoft.Azure.Services.AppAuthentication NuGet package in your project.
- Modify your
web.config file in the following way:
- To enable integrated Azure B2B login, add the following configuration in
7. Use transformations for different environments
If your project uses different configurations per environment, Sitefinity Cloud supports this setup. The transformations are automatically applied during the Continuous delivery process.
To update your project for that, use procedure Manage configurations in Continuous delivery pipeline.
You can use one of the approaches described in procedure Use different website configurations for different environments.
8. Add the configurations required for Sitefinity Cloud
- Open the
web.config file and make the following configurations:
Configure the required healthchecks in
To enable the crawlers to be able to crawl the site, add the following in the
9. Configure the Webhook module
Sitefinity Webhook module is used in Sitefinity Cloud for invalidating CDN cache.
- In Sitefinity CMS backend, navigate to Administration » Modules & Services and enable the Webhook module.
- Click Administration » Settings » Advanced » Webhook » Webhook events.
- Add Telerik.Sitefinity.Web.OutputCache.IOutputCacheInvalidationEvent and save your changes.
For more information, see Webhook.
10. Verify the deployment package
In a Continuous Delivery pipeline, the package deployed to an environment is always built by the same process for each deployment.
To check the package that will be deployed in Sitefinity Cloud, run the following MSBuild command locally, in the Developer Command prompt of Visual Studio:
C:\MySolutionFolder>msbuild MySolution.sln /p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:AutoParameterizationWebConfigConnectionStrings=False /p:TransformWebConfigEnabled=False /p:MarkWebConfigAssistFilesAsExclude=false /p:PackageTempRootDir="" /p:PackageLocation="C:\BuildPackageFolder"
NOTE: If you do not see some files in the output package, make sure the necessary files are included in your project
11. Ensure that the project uses relative URLs
When you build a URL in your code, make sure that it uses a relative path and not an absolute one, because it may lead to rendering wrong domain on the site.
Supported Connectors and Add-ons
Sitefinity Cloud projects support all connectors and add-ons that can be purchased with Sitefinity CMS. For more information, see Sitefinity Cloud Tiers.