Deployment on traditionnal web server

System Information
  • Strapi Version: 4
  • Operating System: windows
  • Database: sqlite
  • Node Version: 18
  • NPM Version: 9.5.1
  • Yarn Version: /


I’m new to strapi and deployment on a web server. I’m trying to deploy my strapi app, that works locally on a classical web server, o2switch. My domaine name on the web server is My stapi app has been cloned to sub-directory called RicardoBackend. I use this in my server.js config file:
module.exports = ({ env }) => ({
host: env(‘HOST’, ‘’),
port:‘PORT’, 1339),
app: {
keys: env.array(‘APP_KEYS’),
webhooks: {
populateRelations: env.bool(‘WEBHOOKS_POPULATE_RELATIONS’, false),
url: ‘/RicardoBackend’

I’ve changed the port 1337 to 1339 because the server told me before that the 1337 port is already used.
I don’t know if I should let the value for the host.

No answer for the server even if I’ve started via npm run start the appli . I use putty to do that, via SSH. It tells me my app is started . Note: just before the build worked successfully.
I guess I’m completely wrong doing the way I do but I need help because I’m getting very confused about all those new concepts.
Any help would be strongly appreciated.
Thanks by advance.