How do I set up multiple websites on one droplet and configure DNS correctly ?
I have a Ubuntu 14.04 droplet, running a nodejs and a nginx server. The nodejs server distribute a website on port 80, and the nginx serves a WordPress on 1337.
I easily binded my domain name to the nodejs server, but am struggling to do the same for my wordpress installation ...
I can't figure out how to bind my domain to a specific port (which apparently is impossible), and I can't think of another way of binding two domains on two servers hosted on the same machine.
Help ? :)
Thank you in advance !