More in this section
Forums / Deployment / Multiple Sites / One Code Base & Application

Multiple Sites / One Code Base & Application

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Shawn Clabough
    Shawn Clabough avatar
    7 posts
    01 Jun 2004
    04 Dec 2007
    Link to this post
    Is there a way to configure Sitefinity to host different applications from the same code base? 

    We are considering using Sitefinity to host 10-15 domains that we would like to act as sperate applications, but it would be very burdensome to have to manage 10-15 copies of Sitefinity. 

    It seems like it would be simple to implement as you would just need to access a different database or table depending on the host header, but I have not been able find or think of a way of implementing this.

  2. Bob
    Bob avatar
    330 posts
    30 Dec 2016
    06 Dec 2007
    Link to this post
    Hello Shawn,

    Unfortunately, there is no such functionality available out of the box. You could implement this by adding custom HttpModule to load the home page corresponding to each domain. Next, you need to modify the navigational controls to start from the domain’s root page. Also, if you are going to use shared content, News or Blogs that should be specific to each domain, you'll have to add a provider for each domain and specify different application name for each provider. Then permissions can be set per provider.

    We have already tried this approach for a customer and I must say it is not very practical and straightforward. Since there have been quite a lot of requests for such scenarios, we are currently considering providing this functionally out of the box but I can’t promise that it will make it for v3.2.

    However, if you decide to give it a try, I can send you more detailed instructions and a sample project. Note that this approach may not be fully compatible with the one that we will provide later.

    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
2 posts, 0 answered