I am new to creating Multisite using Sitecore JSS. Little confused with what configuration should I go ahead with,
- We have currently 1 site added to the site node in Sitecore.config, say "abc-single-azurewebsites.net"
- We have 1 jss app which is using below configuration,
- layoutServiceHost": "https://abc-single-azurewebsites.net"
- deployUrl": "https://abc-single-azurewebsites.net/sitecore/api/jss/import"
- ApiKey : Created api key in sitecore
- DeploySecret : auto generated
We want to add another site. Hence we have added another site to the sites node say "xyz-single-azurewebsites.net"
We are trying to create another jss app for site 2. While setting up the jss app, we are little confused in what values to provide for "layoutServiceHost" and "deployUrl". We have created new api key in sitecore.
Can anyone help me with below questions,
- What will be the value for "layoutServiceHost" and "deployUrl" since we will be using same sitecore instance for both the apps ?
- for multi site should we add another app service in azure or should we add another url to the existing app service ?