Monday, 23 April 2012

How to deploy a Site in Sitecore in Production (Multi-domain) - 11


In web.config file, we have <sites> node to configure roothpath, startitem, host name etc. For production deployment, we have to use www.example.com and example.com. So we added to <sites> node in web.config file. We came to know that it created two cache folders, one for each website node. To avoid this, we have to create a single node for the site with hostname as “*example.com” (Please don’t use dot in the host name.).
<site name=”example” hostname=“*example.com” … />


No comments:

Post a Comment

Articles

Automatically create new version for Lock & Edit without workflow

Sitecore will create a new version on Lock and Edit if the item is tied to a workflow. For our case, version has to be created even withou...