Deploy Next.js renderer
Using three-tier architecture, you can setup Sitefinity to work simultaneously with Next.js pages and other Sitefinity pages. This way, you can continue using your existing Sitefinity CMS project, but also create and develop new pages with Next.js.
The following scenarios for hosting the Next.js renderer application are supported:
- Local - Both the renderer and Sitefinity CMS applications run on the local user machine, but are hosted under different ports – for example, localhost:1234 for Sitefinity CMS and localhost:5001 for the renderer application.
- Cloud - Both applications are hosted in the cloud. For more information on how to setup Next.js cloud projects for local development, see Set up the project for local development (using Next.js Renderer).
- Mixed (Development) - The renderer application is hosted locally and points to a remote Sitefinity CMS instance – for example, hosted on Sitefinity SaaS or on a remote IIS instance. This way, the developer is enabled to work with the latest database from the live, staging, or development environment, and preview the changes.
NOTE: For the cloud scenario, you must add all the domains of the live renderer website to your Sitefinity license.
RECOMMENDATION: We strongly recommend not hooking a local Renderer to a live Sitefinity CMS instance. Because any changes to the live environment will not be applied to the local development environment, thus, breaking the Continuous delivery process and causing malfunction to any live Renderer. A standard continuous delivery setup is recommended. For more information, see Continuous delivery.