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