How to adapt Appspace Intranet to a site URL change

Share on print
Share on facebook
Share on linkedin
Share on whatsapp
Share on email
This procedure has to be performed by the SharePoint farm administrator with knowledge about the farm and SharePoint operations. It is recommended to test the procedure in PreProduction environment and backup databases before proceeding to Production.​​

SharePoint

​​First of all, we need to update the web application URL in SharePoint 2013 following the official MS guide (Appspace Intranet isn’t involved in this step):
Important procedure reminders:
  • ​​When unextending, c​hoose Delete > Remove SharePoint from IIS Web Site. Don’t delete the existing Beezy IIS Web Site
  • When reextending, use the existing Beezy ​IIS Web Site (changing host header + ​​public URL) ​
  • Once done, you have to redeploy Beezy solution to the web application with new URL:
    1. Important: execute an IISRESET to all farm servers before redeploying the solution
    2. Central Administration > System Settings > Manage farm solutions​ > Beezy.wsp ​> Deploy Solution > Deploy To?​​ To the Beezy web application with updated URL.

    ​​

Appspace Intranet (Powered By Beezy)

Once you have the SharePoint web application properly configured with the new URL we can proceed with the required changes in Appspace Intranet DB:
SELECT * FROM SiteCollection
You should have only one site collection (ask Appspace Intranet support if there is more than one) with the columns “SiteCollectionUrl” and “WebApplicationUrl” pointing to the old URL. We just have to change them with the following SQL sentence:
 
UPDATE SiteCollection
SET SiteCollectionUrl=’http://NEW_BEEZY_SITECOLLECTION_URL’,
Web​ApplicationUrl=’http://NEW_BEEZY_WEBAPPLICATION_URL’
GO​
 
And update the Appspace Intranet main site collection URL:

UPDATE ConfigurationSetting
SET Value=’http://NEW_BEEZY_SITECOLLECTION_URL​​’
WHERE Name=’MainSiteCollection​’
GO

NEW_BEEZY_SITECOLLECTION_UR and NEW_BEEZY_WEBAPPLICATION_URL will usually be the same.