2 Installing and Updating Workspace


2.8 Upgrading Workspace Organization  <<  2.9  >>  2.10 Migrating Workspace Organization to Another Server 

2.9 Changing Hostname of Workspace Organization

NOTE: 'verkkokauppa' as an organization name is used purely as an example. Replace this with real organization name.

Go to $WORKSPACE_HOME/installers/Workspace_Standard-v(version)_shared-(build)

Set the new base url for the shop
# sh sethost.sh verkkokauppa http://verkkokauppa.ws-serverX.smilehouse.com/


Map the new virtualhost to organization in organization.properties
newverkkokauppa.ws-serverX.smilehouse.com=verkkokauppa


Change the virtualhost alias inside corresponding virtualhost (workspace build)
<Host name="(build).ws-serverX.smilehouse.com" appBase="($WORKSPACE_HOME)/client_app_base" unpackWARs="false">
  <Context docBase="($WORKSPACE_HOME)/clients/workspace.client_standard_(build).war" path=""/>
  <Alias>newverkkokauppa.ws-serverX.smilehouse.com</Alias>
</Host>


Restart Tomcat and see catalina.out for errors