+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Multiple sites on one code base

Multiple sites on one code base

4 posts, 0 answered
  1. Jeff Vail
    Jeff Vail avatar
    5 posts
    Registered:
    20 Jan 2005
    02 Feb 2009
    Link to this post
    I currently run a group of community websites on a common code base...multiple websites in IIS all pointing to one ASP.NET application.  Data from all sites is stored in one SQL Server database.  The application picks up the domain being used and customizes the site accordingly.  Over the past couple years I have become a Telerik junkie and would like to migrate these sites to Sitefinity.

    First off, generally speaking, is Sitefinity a good choice to build a social networking (multi-user) site?  Secondly, does Sitefinity natively support such an arrangement (multiple sites with different look & feel, one code base, one database)?

    Assuming not, and that each site is truly it's own ASP.NET application, is it possible to maintain multiple sites (by synchronizing files to maintain the same core code/modules), but allow them to each have their own look & feel, unique data, unique users, etc?

    Thanks!
    Jeff


  2. Tony
    Tony avatar
    23 posts
    Registered:
    12 Sep 2008
    02 Feb 2009
    Link to this post
    each site has its own database and is its own application.  Because most pages are dynamically served and don't physically exist all the settings for them are in the database.

    However, what you can do is get the basics up the way you want them and then create copies of your database, using different CSS/master pages/templates for each site then their content could be added individually.

    Why the desire to have them all be on the same database?

    As far as custom functionality goes you could certainly just schedule a copy of any user controls to all sites.
  3. Jeff Vail
    Jeff Vail avatar
    5 posts
    Registered:
    20 Jan 2005
    02 Feb 2009
    Link to this post
    Thanks, Tony.  That's what I was thinking the setup would be, and it seems reasonable.  Why one database?  Just because that is how we have it now and things are so easy.  ;)  We push out a new code feature and database update and all sites are updated immediately.  We could just as easily script the changes and apply them across multile databases.

    I'll start digging a little deeper.  I am hoping a move to Sitefinity will allow me to get out of maintenance of the plumbing (users/authentication/logging) and focus on new applications/modules!

    Jeff
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    03 Feb 2009
    Link to this post
    Hi Jeff Vail,

    Just to let you know if you use one DB for multiple websites and decide to move one of the websites, then you will have to make some sql scripts to get the content of the desired website.

    All the best,
    Ivan Dimitrov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Register for webinar
4 posts, 0 answered