Sitecore 9.1 Initial Release – How to enable Sitecore Admin for Content Delivery Server (CD)

There are some Sitecore’s modules that installs separately on Content Management Server and Content Delivery Server (CM and CD in short), i.e. Sitecore Experience Accelerator. Therefore it need to enable Sitecore Admin interface in order to install those kind of packages.

Notes: if you don’t have CM and CD servers separately, please refer to my previous post to have your own.

Here are the steps

  • Identity Server
    • Add CD Server to AllowedCorsOrigins

So, let start with CD Server

1- Access to web root of CD Server (i.e. E:\Inetpub\wwwroot\XM910.cd.local)

2- Open the web.config; then modify the <location path=”sitecore”> node as below to allow accessing Sitecore Admin interface

  • Before the change
  • After the change

3- Open the App_Config\ConnectionStrings.config to add the connection string of Core database (can copy from CM Server)

Add Connection String of Core database

4- Download the patch file – Sitecore.Enable.Core.CD.config; then put into App_Config\Includes

Next, Identity Server

  1. Access the web root of Identity Server, i.e. E:\Inetpub\wwwroot\XM910.identityserver
  2. Open Sitecore.IdentityServer.Host.xml at Config\production, then add CD Server into AllowedCorsOrigins node. Notes: AllowedCorsOriginsGroup2

What’s next?

  • Restart IIS to affect the changes
  • Access the Url – http://xm910.cd.local/sitecore
  • Login with the credential: admin/b
  • Now, we can open the Content Editor and even use Installation Wizard from CD Server

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s