Search code examples
c1-cms

Composite C1 - Multiple domains & sites in one Composite C1 instance


I am newish to Composite C1.

I need 5 sites, all sharing HTML & CSS layout & code - but all must have different contant.

They each need their own domain: Domain1.com Domain2.com ...

What is the best way to set this up?

I setup 1 - and I add another website and it makes is a 'subsite' of the original one in my dev IIS - eg:

First site URL: Domain1.com/mypage Second site URL: Domain1.com/another page

How do I force the second site to use a new domain?

Also are there host headers? How can I route traffic appropriately to each site?


Solution

  • Composite C1 has a built-in URL/Hostname configuration component (System / URL Configuration / Hostnames)

    http://docs.composite.net/Configuration/UrlConfiguration/Hostnames

    In short, you should:

    1. have valid domain names bound on IIS to your C1 instance
    2. map each domain name (hostname) to a corresponding subsite / language version of your susbsite in the C1 Console (System / URL Configuration / Hostnames)