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

Forums / Deployment / Copy Production Site to a New Development Site

Copy Production Site to a New Development Site

7 posts, 0 answered
  1. Darryl St. Pierre
    Darryl  St. Pierre avatar
    13 posts
    Registered:
    17 Feb 2010
    30 Aug 2010
    Link to this post
    I currently have a production Sitefinity Site that I would like to copy to a "new" site to use for production.


    All the documentation I have found describes going from DEV to Production, I need the reverse.

    Any help would be appreciated.

    Thanks,
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    30 Aug 2010
    Link to this post
    Hi Darryl St. Pierre,

    Move the files from the production to dev server by using a FTP. Create a database backup of your production database and restore it on the local/dev server. Change the web.config settings and run the project locally.

    Regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Darryl St. Pierre
    Darryl  St. Pierre avatar
    13 posts
    Registered:
    17 Feb 2010
    31 Aug 2010
    Link to this post
    I have backed up and restored the DataBases to a new database. I have also copied the web files and changed the DB connection strings in the web.config.

    I am trying to run this on the same webserver as production, but with port 81 instead of 80.

    I am getting the following error when attempting to browse the site:

    Secure Connection Failed
     
    An error occurred during a connection to bod.sefcu.com:81.
     
    SSL received a record that exceeded the maximum permissible length.
     
    (Error code: ssl_error_rx_record_too_long)
     
     
        *   The page you are trying to view can not be shown because the authenticity of the received data could not be verified.
     
        *   Please contact the web site owners to inform them of this problem. Alternatively, use the command found in the help menu to report this broken site.

    I have also verified that SSL Required is set to 'false' in the web.config

    Thanks,
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    01 Sep 2010
    Link to this post
    Hi Darryl St. Pierre,

    The reason for this errors are that the SSL port is looking on HTTP instead of HTTPS or you are behind some proxy. As I see you are using port 81. You could try to open port 443 and set the SSL on this port. This is the standard port for https communications. If SSL is using a non-standard port then FireFox 3 can sometimes give this error. Check whether you have  SSL certificate sharing the same IP. This issue is not  cased by Sitefinity.

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. Darryl St. Pierre
    Darryl  St. Pierre avatar
    13 posts
    Registered:
    17 Feb 2010
    02 Sep 2010
    Link to this post
    Our production site is setup to use SSL.

    I am attempting to host a development site on the same box, I followed the above instructions and copied the production site to a dev site, and setup iis to use port 81.

    Port 443 is currently being used by the production site.

    I do not wish to use ssl on the dev site as it will be internal only.

    There is no proxy in the mix here, it occurs even when browsing from the localhost.


    Thanks,
  6. Darryl St. Pierre
    Darryl  St. Pierre avatar
    13 posts
    Registered:
    17 Feb 2010
    09 Sep 2010
    Link to this post
    I do not wish to use SSL on this site.

    I do not have it enabled in the IIS config, and I turned off the 2 settings I found in the web.config.

    How do I ensure that it is not trying to use SSL.

    Thanks,
  7. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    09 Sep 2010
    Link to this post
    Hi Darryl St. Pierre,

    • Each page has a property "Require SSL". If this page property is set to "No" form backend UI the website will not require SSL. 
    • SSL redirection could be set in the web.cinfig  <cms> node.There is a property SslRedirection which is not added to the <cms> node by default. If you have any settings for this property, please remove them.

    There are not other settings in Sitefinity that would force opening a page under SSL.

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Register for webinar
7 posts, 0 answered