Unable to run Node.js on subdomain
So I want to run a website and a rest API(with node) on the same subdomain. I first setup everything for the website and it works great, now for the api, I want to make it accessible in the URI subdomain/api. So i followed the steps mentioned even after registering the application. if I go to the url on the browser I get "Internal Server Error".
I would be really grateful for any help I can get. Thank you.
-
What's output in the error logs? Did you create app.js in the subdomain's home directory or the root domain's? 0 -
What's output in the error logs? Did you create app.js in the subdomain's home directory or the root domain's?
I created the app.js inside the subdomain's directory and I linked that directory in the Application Manager. I also don't know how to access the logs for this? can you help me out?0
Please sign in to leave a comment.
Comments
2 comments