More in this section

Forums / Developing with Sitefinity / Hosting & Deployment Scenarios

Hosting & Deployment Scenarios

10 posts, 0 answered
  1. Jon
    Jon avatar
    1 posts
    Registered:
    01 Jan 2009
    06 Jan 2009
    Link to this post
    Hi,

    We have a potentional production environment that is planned to be setup as described below.

    My question is, would it be possible to setup a SiteFinity website where the public facing site is on a different server to the administration area?

    Environment details below:

    o A web server, hosted in a DMZ outside firewall, accessible to the public

    o An authoring web server, hosted within firewall, used to administer the website

    o A SQL server within firewall, with:

    § Read & Write access from the authoring web server

    § Read access from the public web server

    § Content will automatically go live as soon as it’s been approved by the Approvers Group.

    o The configurations are:

    § Windows Server 2003 32 bit

    § SQL Server 2005 32 bit


    Any help or comments would be greatly appreciated.
  2. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    09 Jan 2009
    Link to this post
    Hello Jon,

    Basically there are two approaches you may follow.
    The first is if you have one database server - both web servers can use one Sitefinity database. The Sitefinity projects should have the same connection strings in the web.config file, and the same applicationNames for the providers. This way, whenever the content is published from the authoring web server, it will become visible on the server side.

    The second approach is by using SQL replication. With this configuration, you should set the cacheDependancy to InDatabase.
    Our cache dependency handler works as follows:
    There is a Timer, which periodically checks the time of the last change stored in the CacheDependency table in the database. The time is compared with the time of the last check, and if it is greater, the Sitefinity cache dependency handler invalidates the cache. For this configuration, it is really important your authoring server and production server to be in the same time zone and their times to be synchronized.


    I hope this helps.

    Greetings,
    Georgi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Matthew
    Matthew avatar
    38 posts
    Registered:
    24 Jun 2012
    13 Jan 2009
    Link to this post
    Hi Georgi,

    Question regarding the example above, I have 2 webservers 

    edit.mydomain.com (for the administration of Sitefinity - avaliable only internally)
    www.mydomain.com (for the frontend read only - in the DMZ to public)

    and one database server that hold the content.

    Is it fair to make the assumption that I can remove completely the SiteFinity Admin folder from the frontend webserver www.mydomain.com?

    Also, is there anything internal in the sitefinity administration application that may setany URLs as edit.mydomain.com (which we would want to avoid).

    Finally, do you know of any realworld websites that use sitefinity and are configured like this? Just want to make sure it is supported before configuring the servers this way.

    thank you,
    Matt
  4. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    13 Jan 2009
    Link to this post
    Hi Matthew,

    Here are the answers to your questions:
    Is it fair to make the assumption that I can remove completely the SiteFinity Admin folder from the frontend webserver www.mydomain.com?
    Yes. You can delete the Admin directory from [YourProject]\Sitefinity.

    Also, is there anything internal in the sitefinity administration application that may set any URLs as edit.mydomain.com (which we would want to avoid)
    No.

    Finally, do you know of any realworld websites that use sitefinity and are configured like this? Just want to make sure it is supported before configuring the servers this way.

    We have some inquires for this already, so we assume there are such cases. I am not sure if we have a link to such a web site in our Showcase gallery though. We are sure that this scenario is possible.

    Sincerely yours,
    Georgi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  5. Alisha
    Alisha avatar
    23 posts
    Registered:
    09 Jun 2008
    06 May 2009
    Link to this post
    We did run our site under this scenerio for several months without any problems.  We only went away from it because we needed to grant users outside of our organization access to the CMS but not behind our firewall.
  6. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    07 May 2009
    Link to this post
    Hello Alisha,

    With the future versions of Sitefinity, this will become an easier task. By introducing the web content services, you will be able to talk to other Sitefinity applications in an easy way.

    Kind regards,
    Georgi
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  7. Sharon
    Sharon avatar
    28 posts
    Registered:
    29 Jul 2008
    16 May 2009
    Link to this post
    Is it possible to extend this scenario to one more server:

    1) Dev server using dev copy of sitefinity DB where I can work on code for new controls, build pages using those controls, add in controls from other companies, etc.

    2) Authoring server(in DMZ) using authoring copy of SF DB where staff / group volunteers can write news articles / generic content items / and a couple can do page editing

    3) Production web server using production copy of db

    We've been using SQL backup / restore to move content from the dev server to production. Now I want to add in the authoring server.

    I'm not sure how to pick up my changes from the dev server combine them with the changes from the authoring server and move the whole thing into production?
  8. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    21 May 2009
    Link to this post
    Hello Sharon,

    You can use some Database Synchronization and Database replication tools for merging/comparing  the content between your servers.

    Sincerely yours,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  9. Sharlyne
    Sharlyne avatar
    30 posts
    Registered:
    14 Aug 2008
    02 Jul 2009
    Link to this post

    We know its best practice NOT to install the admin application on the public website.  However, do we really need three Web Servers, one for Public, one for Authoring, and one for development?

    Q1.  Assuming we use separate web sites with separate application pools (not under default web sites), and assuming we use an SSL or VPN connection to the admin application, would it be ok to use just ONE web server for public and authoring purposes?

    Q2.  Assuming we have two websites (one for public and one for authoring) and assuming they point to the same Sitefinity database, isn't it possible for me to "Approve" all content changes prior to the change becoming available on the Public website?

    Q3.  Assuming I have a development Sitefinity website and database (SFdev), and a public Sitefinity website and database (SFpub), and that business data is in a separate database (Company Data), how should I migrate my changes and enhancements from the Sitefinity development database (SFdev) to the public Sitefinity database (SFpub)?

    Our web master is using three separate web servers and three Sitefinity databases to manage public, author, and development tasks.  Our business data is in one separate database. 

    Q4.  Would it be considered normal practice to simply overwrite my public Sitefinity database SF (pub) with my development database SF (dev) whenever I want to publish my format changes from dev to pub?

    Q5.  Would it be considered normal practice to simply overwrite my public website database SF(pub) with my Authoring database SF(auth) whenever I want to push changes from author to public? 

  10. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    07 Jul 2009
    Link to this post
    Hello Robert,

    I will try to answer your questions one by one.

    Q1.  Assuming we use separate web sites with separate application pools (not under default web sites), and assuming we use an SSL or VPN connection to the admin application, would it be ok to use just ONE web server for public and authoring purposes?

    Yes. In this case you should secure the VPN connection or take care about the SSL certificate, but the rest seems completely fine.

    Q2.  Assuming we have two websites (one for public and one for authoring) and assuming they point to the same Sitefinity database, isn't it possible for me to "Approve" all content changes prior to the change becoming available on the Public website?

    You can do that only if the changes are on Generic Content based module items - News, Blogs, etc, and if you have enabled the workflow on the authoring web site.

    Q3.  Assuming I have a development Sitefinity website and database (SFdev), and a public Sitefinity website and database (SFpub), and that business data is in a separate database (Company Data), how should I migrate my changes and enhancements from the Sitefinity development database (SFdev) to the public Sitefinity database (SFpub)?

    Unfortunately the only way for now is by backing up your development database, and restore it on the public server. This means that you should always have the latest version on SFdev. Starting with Sitefinity 4.0, we will provide a Synchronization service which will merge the content and changes automatically.

    Q4.  Would it be considered normal practice to simply overwrite my public Sitefinity database SF (pub) with my development database SF (dev) whenever I want to publish my format changes from dev to pub?

    At this point, with the current versions of Sitefinity - Yes.

    Q5.  Would it be considered normal practice to simply overwrite my public website database SF(pub) with my Authoring database SF(auth) whenever I want to push changes from author to public?
    Yes as well.

    Let us know if you have any further questions.

    Kind regards,
    Georgi
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Register for webinar
10 posts, 0 answered