Klak031
Klak031

Reputation: 155

Strapi deployment

I am new to Strapi and I found it really good, I got my website in development mode locally working perfectly fine but I can not get my head around or find any good guide how to host Strapi on Debian Linux server, that I have, to be part of website and to access Strapi control panel for example mywebiste.com/admin so I can add content as blog posts directly by logging in to website admin part. Is that possible or I must use some services like Heroku. if someone can provide in short step by step what to do I will really appreciate that. I tried already create new Strapi project inside public_html folder but its not working

Upvotes: 1

Views: 494

Answers (2)

ismail ERDEN
ismail ERDEN

Reputation: 138

I use strapi on my project . I hosted strapi on pm2 package. Its very easy. this documention https://docs.strapi.io/developer-docs/latest/guides/process-manager.html#install-pm2

don't forget add startup Ubuntu to pm2. Otherwise when Ubuntu started then not starting pm2

I suggest use Ubuntu.

Nginx Configuration

enter image description here

Upvotes: 1

hp10
hp10

Reputation: 632

In order to deploy it to a Linux server, you need to install nginx, and set it up. You can find instructions in official documentation: https://docs.strapi.io/developer-docs/latest/setup-deployment-guides/deployment/optional-software/nginx-proxy.html#nginx-virtual-host

Upvotes: 0

Related Questions