Run LAMP Stack on main domain, Run Node.JS on subdomain, same droplet

January 24, 2016 1k views
LAMP Stack DNS Node.js Deployment Configuration Management

I want to run a basic LAMP stack at, and run a Node.JS app on, on the same droplet. I have them both installed.

(users shouldn't have to put a port number at the end, they both need port 80)

How can I do that?

1 Answer

Some tinkering with Apache will be needed. Take a look here:

This should work.

Have another answer? Share your knowledge.