Jasinski Technical Wiki

Navigation

Home Page
Index
All Pages

Quick Search
»
Advanced Search »

Contributor Links

Create a new Page
Administration
File Management
Login/Logout
Your Profile

Other Wiki Sections

Software

PoweredBy

Page History: Multi-Site Implementation - Sitecore

Compare Page Revisions



« Older Revision - Back to Page History - Newer Revision »


Page Revision: Tue, Mar 13, 2012, 9:14 AM


Overview

This article explains how to setup multiple sites on a single Sitecore instance. The assumption behind this procedure is that each site is required to have its own domain name.

Procedure

1. Setup either DNS entries or your HOSTS File to all point to the IP address of the web server.

Sample HOSTS File
127.0.0.1       AcmeSitecore
127.0.0.1       AcmeSales
127.0.0.1       AcmeTechSupport

2. Within IIS, setup the bindings for your site to include the domain name of each site.

3. Within the <sites> section of your web.config file, map each site to the desired Sitecore path.

Sample web.config settings'
<sites>
    <site name="ACME Sales" hostName="AcmeSales" virtualFolder="/" physicalFolder="/" rootPath="/sitecore/content/Sales" . . . />
    <site name="ACME Tech Support" hostName="AcmeTechSupport" virtualFolder="/" physicalFolder="/" rootPath="/sitecore/content/TechSupport" . . . />
    <site name="ACME Main Site" hostName="AcmeSitecore" virtualFolder="/" physicalFolder="/" rootPath="/sitecore/content" . . . />
. . .
</sites>

ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2024, Patrick Jasinski.