How can I setup a server to run multiple different apps/programs?

I just got a droplet and installed Ubuntu 16.04.3 x64, I followed the instructions and got NextCloud installed. Currently I can’t view the login, but that’s because my work is blocking it --not a big deal.

But I’d like to access NextCloud by going to ‘’. I’ve registered on Google Domain to point to my droplet’s IPv4 address. I’d as like a main page, ‘’ which goes to something else, say Django. And then a third, ‘’, which points to a to-be-determined blog, let’s say Wordpress for the time being.

How can I get this setup? I figure Nextcloud will need to go through a port, and then over at my domain control I point to that port. The blog would get and ‘’ would point to that.

I assume that installing new programs is as easy as get getting and installing the respective programs. But how do I then point each program to the correct port?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!