EPiServer CMS 6.0 / R2
Document last saved:
EPiServer CMS Enterprise is a solution that shares the same file structure and can store different types of information on the Web site in the same database. This tech note describes the configuration and the technology behind EPiServer CMS Enterprise.
This technote describes how to set up an EPiServer CMS Enterprise configuration where several separate web applications to share information by using the same files and database. When the Enterprise configuration is complete, it is possible to link information from one website to another and edit every website in edit mode.
This configuration has the following restrictions:
To install EPiServer CMS Enterprise a few extra steps need to be performed when compared to a non-Enterprise installation.
This is a regular EPiServer CMS installation using an Enterprise license file.
To set up multiple Web sites follow the instructions below:
In IIS integrated pipeline mode the ASP.NET functionality is fully integrated into the main request processing in IIS, which means that all ASP.NET features are already available for any type of requests
<handlers accessPolicy="Read, Script">
bitness32" responseBufferLimit="0" />
Click the Add Site button and fill out the form, make sure to add at least one host name.
Save the new site and go to the License Information tab and upload an Enterprise license for your new site to use.
Click the Restart Sites button, this is required to make the changes take effect.
The unique site configuration information for each site will be stored in a section in the episerver.config file under <sites>. Each <site> element has a siteId value associated with it.
Note that the uiUrl attribute supports the application-relative syntax. The application-relative version of a uiUrl will allow you to access the UI (edit and admin) with any host name that you can use to access the site. If you enter a complete URL, you will be restricted to accessing the site via that specific host name and port.
The siteUrl attribute acts as a "default URL to the web site" in cases where you need to generate links to the web site without having a request to base the response upon, for example in subscription scenarios.
<site siteId="enterprise1" ... >
<site siteId="enterprise2" ... >
<add name="*" />
<add name="enterprise1" />
<add name="enterprise2" />
Since all sites share the same database and may be affected by page updates on other sites, the system needs to be able to update page information between all the enterprise Web sites.
The cache update between sites, regardless of whether they are running on the same machine or not, is done via UDP network traffic. The only configuration that is needed is to make sure that enableEvents and enableRemoteEvents are both set to true as per the examples above.
When a site starts, it registers its siteId in the database (if it's not already there). It then reads all siteId's back from the database and registers an interest in receiving cache notifications for each one.
If the cache update mechanism does not appear to work, the cause is most likely that you have network devices between your servers that prevent UDP broadcasts from being relayed. Software-based firewalls (i.e. the Windows Firewall) may also need to be configured to allow the UDP traffic to reach the machine.
A possible misconception regarding authentication in Enterprise solutions is that logging out on one site while being logged in on other sites would log you out from these Web sites as well. This is not the case. When logging out from an Enterprise site, for example, to leave the computer, make sure to log out from other Web sites.