- Stop IIS
- Stop the following services:
*xconnect.dev.local-IndexWorker
*xconnect.dev.local-MarketingAutomationService
*xconnect.dev.local-ProcessingEngineService
services.
- Re-generate SSL certificates for new names:
Install-SitecoreConfiguration -Path createcert.json -CertificateName *identityserver.dev.local
Install-SitecoreConfiguration -Path createcert.json -CertificateName *xconnect.dev.local
.
- Retrieve certificate thumbprints
- Open
certmgr.msc
- Locate new certificates in
Personal\Certificates
opening to retrieve thumbprints (double click, details tab, scroll down to thumbprint):*.identityserver.dev.local
*.xconnect.dev.local
- Open
- Rename website physical paths:
\inetpub\wwwroot\*identityserver.dev.local
\inetpub\wwwroot\*sc.dev.local
\inetpub\wwwroot\*xconnect.dev.local
directories
- Open IIS & create temporary AppPool (cannot rename bound AppPool)
- For each site:
- Change AppPool to temporary AppPool
- Rename previous AppPool to new name
- Reassign to renamed AppPool
- Update physical path (basic settings) to renamed directory
- Update hostname to new name (bindings)
- For
*identityserver.dev.local
&*xconnect.dev.local
sites, swap out ssl certificate
- For
- Delete temporary AppPool
- Update HOSTS file (
\Windows\System32\drivers\etc\hosts
) to reflect new names - Open SQL Server Management Studio & rename databases
- Take DB offline, rename, bring back online
- Open SOLR and goto Core Admin and rename indexes
- Modify
\inetpub\wwwroot\*identityserver.dev.local\Config\production\Sitecore.IdentityServer.Host.xml
<ConnectionString>
<PasswordRecoveryUrl>
<AllowedCorsOriginGroup1>
- Modify
\inetpub\wwwrot\*sc.dev.local\App_Config\ConnectionStrings.config
- Updating all database references
- Update 3 xconnect references
- Update
*.certificate
values with*xconnect.dev.local
thumbprint
- Modify
\inetpub\wwwroot\*sc.dev.local\App_Config\Sitecore\Owin.Authentication.IdentityServer\Sitecore.Owin.Authentication.IdentityServer.config
- Update
<settings name="identityServerAuthority" />
- Update
- Modify
\inetpub\wwwroot\*sc.dev.local\App_Config\Sitecore\**\Sitecore.*.Solr.*.Config
- Update solr core references
- Modify
\inetpub\wwwroot\*xconnect.dev.local\App_Config\ConnectionStrings.config
- Update all database references
- Modify
\inetpub\wwwroot\*xconnect.dev.local\App_Data\jobs\continuous\AutomationEngine\App_Config\ConnectionStrings.config
- Updating all databases references
- Update 1 xconnect reference.
- Update
*.certificate
value with*xconnect.dev.local
thumbprint
- Modify
\inetpub\wwwroot\*xconnect.dev.local\App_Data\jobs\continuous\IndexWorker\App_Config\ConnectionStrings.config
- Updating all database references
- Update
solrCore
reference.
- Modify
\inetpub\wwwroot\*xconnect.dev.local\App_Data\jobs\continuous\ProcessingEngine\App_Config\ConnectionStrings.config
- Update all database references
- Update 5 xconnect references.
- Update
*.certificate
value with*xconnect.dev.local
thumbprint
- Modify
\inetpub\wwwroot\*identityserver.dev.local\Config\production\Sitecore.IdentityServer.Host.xml
- Update
<CertificateThumbprint>
with*identityserver.dev.local
thumbprint
- Update
- Modify
\inetpub\wwwroot\*xconnect.dev.local\App_Config\AppSettings.config
- Update
validateCertificateThumbprint
with*xconnect.dev.local
thumbprint
- Update
- Restart services:
*xconnect.dev.local-IndexWorker
*xconnect.dev.local-MarketingAutomationService
*xconnect.dev.local-ProcessingEngineService
- Restart IIS
- 🙏
Last active
August 8, 2019 18:56
-
-
Save Brad-Christie/910895152e84569e9843c82cca686c6e to your computer and use it in GitHub Desktop.
Renaming Sitecore Installation (9.2)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment