Pages

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

blockquote { margin: 0; } blockquote p { padding: 15px; background: #eee; border-radius: 5px; } blockquote p::before { content: '\201C'; } blockquote p::after { content: '\201D'; }