I was tring to make the IIS server runs nodeJS(Express) to make dynamic website with legacy PHP APIs.
So i have googled how to run nodeJS server on IIS and followed
https://stackoverflow.com/questions/46266609/host-node-js-on-windows-server-iis
this solution.
But i found that static IIS server runs well so if i write "https://domain.com:port/main.js"
the site shows js file very well. Eventhough it shouldn't.
Meaning while i started thinking abount nodeJS server i've run over IIS.
And i thougnt it only runs when client approach root of website and just remain on ram or just off.
So is there a way to IIS and nodeJS server share same domain?
And how can i approach?