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?
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/translations(if it's multi-language)
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
Make sure the folders that need to be writeable are writeable.
Generally speaking your site should be running now.
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:
- All of your Craft CMS project is checked into a git repo and deploy it as discussed in the Setting up a New Craft CMS 3 Project article
- You use Craft-Scripts (or the like) to sync down your db and assets (or you put your assets in an S3 bucket) as discussed in the Database & Asset Syncing Between Environments in Craft CMS article
- You use a provisioning like Forge to spin up a new VPS as discussed in the How Agencies & Freelancers Should Do Web Hosting article
...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.