ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

How To Duplicate An EE Site

March 23, 2011 10:18am

Subscribe [5]
  • #1 / Mar 23, 2011 10:18am

    FrankJohnson

    150 posts

    I need to completely duplicate a website under a different domain. After this is done, both websites will still exist, but after the duplication process is finished, I will tweak the second version to be somewhat different in terms of appearance, content, and membership. All of the functionality needs to stay the same, though.

    What’s the best way to go about this? I tried this approach:

    1. Backed up the database from the first domain.

    2. Installed EE2 on the second domain (same version and build as are used on the first domain).

    3. Uploaded all assets (images, audio files, etc.) that are on the first domain to the second domain.

    4. Uploaded all third-party add-ons that are on the first domain to the second domain.

    5. Dropped all the tables from the EE mySQL database on the second domain and imported the backup database from the first domain.

    Everything seemed to work perfectly - the second domain now has an exact duplicate (at least as far as I can tell) of the first domain’s website.

    But when I try to login to the second domain’s control panel (using the superadmin login credentials I created when implementing EE2 on the second domain), it won’t let me login.

    Incidentally (or perhaps tellingly), the first domain is the first site mentioned in this thread: http://ellislab.com/forums/viewthread/179187/ - the site I had trouble logging into on more than one occasion.

    Is the procedure I used a good approach?

    Thanks,
    Frank

  • #2 / Mar 23, 2011 11:13am

    robertbanh

    9 posts

    I follow this procedure when I have to make another instance:

    http://expressionengine.com/wiki/Move_from_Development_to_Production_on_EE_2/

  • #3 / Mar 24, 2011 3:48am

    John Henry Donovan

    12339 posts

    Thanks Robert that’s a great Wiki entry. A simpler version is here too just to complete the circle

    EE FAQ : How do I move EE to another server?

    Let us know if they help, Frank?

  • #4 / Mar 25, 2011 2:45am

    FrankJohnson

    150 posts

    Thanks Robert and John. I started over with the second site and used the procedure in the link John referenced.

    Same problem - can’t login to the control panel.

    Frank

  • #5 / Mar 25, 2011 5:24am

    leeaston

    634 posts

    Try clearing cookies.

  • #6 / Mar 25, 2011 10:51am

    FrankJohnson

    150 posts

    Thanks Lee. I should have mentioned in my original post - that’s the first thing I tried, but it didn’t work. I hunted around a bit more in the forums, though, and found a reference to adding a cookie domain line in the config file. I did that and was then able to login to the new site and make all the additional changes in the Admin section to change paths, etc. and complete the process.

    Thanks to everyone for the help!

    Frank

  • #7 / Mar 25, 2011 1:19pm

    Sue Crocker

    26054 posts

    Glad you were able to figure out what the problem was. Don’t hesitate to post again as needed.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases