Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

handisb's avatar

How to Migrate Existing Laravel Website to DigitalOcean?

We’re completely new to DigitalOcean and VPSes and we have an existing Laravel project that we’d like to migrate over to DigitalOcean. We’ve had it on various shared hosting platforms for a while now but have decided to finally make the switch over to DigitalOcean.

What would be the best way to migrate the Laravel files, MySQL database and email accounts over to our DigitalOcean account? All the different options are a little overwhelming and it would be greatly appreciated if someone could point us in the right direction.

0 likes
3 replies
Sinnbeck's avatar

Are you using git?

There is no email included in a VPS, so that is a different task (find a mail provider)

1 like
NoLAstNamE's avatar

If you are using git, moving Laravel files is quite easy, the one that will cause quite a lot of work is if you have images stored in a storage or public folder.

@sinnbeck is right "There is no email included in a VPS, so that is a different task (find a mail provider)", find something like Mailgun.

Another thing, I suggest using Laravel Forge, find more of it here.

Sinnbeck's avatar

+1 for forge (or ploi which I personally use)

1 like

Please or to participate in this conversation.