Run Strapi on existing server (e.g. Next.js)


I’m looking for a way to save money on hosting costs. Currently, I have a few projects that each have 2 servers running, one for Strapi and the other one for Next.js. I don’t see a reason why the two can’t be combined to a single server. I am not quite certain on how to achieve this though and did not find any documentation for it.
So, is it possible? And if so, could you point me to some reading material about it?


Not sure what kind of servers do you use for hosting, but if you are speaking about VM then you can follow this guide:

Thanks for you reply!
It is not exactly what I was looking for though. Strapi fires up a node.js server to run it’s backend and serve the frontend (if I am correct). So let’s call this server 1.
Server 2 is a next.js project which also has a node.js back-end and server a front-end.
My question is whether it is possible to combine server 1 and 2 to be a single node.js server.