I'm a newbie in Craft CMS. I need to make changes in an existing craft website which is with one hosting platform. The site was previously managed by another developer. I need to migrate to a new hosting platform and i would like to know what all credentials i would need to obtain to perform this task and how i can migrate it?

  • would be nice of you to accept my answer. Or are there things that need to be cleared up?
    – Florian
    Commented Mar 7, 2016 at 19:06
  • I have followed these instructions but after the site is back up I am seeing what looks like the original theme for Craft CMS. I have a few licensing issues in the backend of the site. Is this likely to cause the problem?: - You’re running Craft Pro with a Craft Solo license. - The license located at config/license.key belongs to xxxx.com - Your Commerce license key is invalid. This is my first time using Craft so bare with me being an absolute novice. Commented Jun 26, 2018 at 11:05
  • I have a follow up question. I migrated the existing codebase to a new server and migrated database using phpmyadmin. The site loads fine but I cannot access the /admin - it will not take the credentials and just sits there. Is there something I need to update on the moved install? This is Craft 2.4 Thanks
    – Hugh Brown
    Commented Apr 21, 2023 at 14:28

2 Answers 2


You need a copy of the database which you can either export via Craft's Control Panel or via phpMyAdmin or a similar database management tool.
You need these folders:

  • craft/templates
  • craft/translations (if it's multi-language)
  • craft/plugins
  • craft/config
  • public

They might be called differently, I am writing this as if the previous developer followed the installation instructions.

Upload a fresh copy of Craft to the new server.

Import the database.

Replace the stock folders with the ones you got from the other install.

Make sure db-credentials are correct in craft/config/db.php. Make sure all paths are correct in craft/config/general.php.

Make sure the folders that need to be writeable are writeable.

Generally speaking your site should be running now.

  • Note that a fresh copy of Craft will not work with backed database if that database was running on some of previous Craft’s versions. Before making back up make sure that you have Craft’s latest version. Commented Jul 2, 2018 at 7:43

The accepted answer is a good one, but I thought I'd add something as food for thought. If you set up your workflow such that:

...you can become a Digital Nomad. I realize it seems like a lot of tooling, but the payoff is exactly the question being answered here.

If you set things up in this manner, it's trivial to move to a new VPS because all of the ingredients that go into making the website are neatly compartmentalized, and can be deployed without any hassle.

Future-you will thank you for setting things up so that not only is your day to day workflow easier and more fault-tolerant, but also when you move to a new VPS, that's trivial as well.

While you're at it, set up backups as per the Mitigating Disaster via Website Backups article too.

Aesop was wise; it's an ant & grasshopper thing.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.