Can I change a tenant name?

Topics: Administration, General
Sep 16, 2011 at 4:13 PM

Are multitnenant host names stored somewhere in the database? or is the tenant information contained in the foldername of App_data/Sites and the settings.txt file?

Can I rename a host simply by changing the folder name and the Name and RequestUrlHost values in Settings.txt?

Sep 16, 2011 at 4:31 PM

Is this a correct process to rename a tenant from HostA to HostB ?

 

1. Change the folder name C:\inetpub\wwwroot\orchard\App_Data\Sites\HostA to HostB
2. Edit the file C:\inetpub\wwwroot\orchard\App_Data\Sites\HostB\settings.txt and set

  1. Name: HostB
  2. RequestUrlHost: HostB.sample.com

3. go to the newly renamed site http://HostB.sample.com/admin, log in as an admin, go to Settings. Fix the Site Name to be HostB and the base url to be http://HostB.sample.com

Coordinator
Sep 16, 2011 at 4:55 PM

Yes, I think that should be sufficient.