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