Run Node.js application on Apache server

As we have an Apache server running on a GCP machine, we now want to run an additional Node.js application on it. 

Our final goal will be:

  • apache hosts , which is the existing website
  • node.js hosts , handling a POST request for Line messaging api

Before we start, I would sincerely advise you to use Firebase function instead if you only need a tiny node.js application running on a public URL (In my case, as I simply want to serve a /callback API POST, it is thus suitable to use firebase, but I pick a difficult path.

If you’re ready, then take a deep breathe and let’s go through this mess together.


Default image
Lingaraj Senapati
Hey There! I am Lingaraj Senapati, the Co-founder of My skills are Freelance, Web Developer & Designer, Corporate Trainer, Digital Marketer & Youtuber.
Articles: 150

Newsletter Updates

Enter your email address below to subscribe to our newsletter

Leave a Reply

11 − 1 =

Physical Address

Patia, Bhubaneswar, khordha, 751024, Odisha, India