How to Deploy Strapi to Your Own VPS

There are multiple cloud options to deploying your Strapi app, but, in this article, I will walk you through how to install your Strapi instance on a Virtual Private Server for usage.


This is a companion discussion topic for the original entry at https://strapi.io/blog/deploying-strapi-to-your-own-vps

Hi, I have a problem with deploing.
I can’t understand, when make a build, i can make them localy, remove build folder from .gitignore, and push with git to vps.
Becaus build will be done fastly.
I am right?

Also i have a problem, my deployed version don’t work.

Thanks in advance.

Ive set this up on a VPS running Debian 11. When running the last step. I cannot access the admin panel at port 1337.

Is there something im missing?

Please could you advise?

thanks in advance

I just deployed Strapi on my own VPS but this is a terrible tutorial. Totally misleading!

1 Like

Any tips on where I can get more info?

This one is from official Strapi docs: DigitalOcean Droplet Deployment | Strapi Documentation
Even though it says Digital Ocean, please know that a DO Droplet is totally the same as any VPS.

thank you very much for the article

Thank you for the feedback and help. Can you give a little more context on what ways you found the article being misleading? This will help be do a better job next time during the review process.

Do you have any tips or recommendations for someone who’s just starting out with managing their own server? Any particular pitfalls or common mistakes to avoid?
Also, have you ever tried deploying Strapi on a dedicated server? I’ve heard some people say that they prefer such servers because they offer more control and flexibility, but I’m not sure if that’s necessarily the case. Would love to hear your thoughts on that if you have any experience with it. Thanks again for sharing your knowledge with the community, and I look forward to reading more of your posts in the future!