Report this

What is the reason for this report?

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

Posted on November 30, 2017

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 ‘cloud.example.com’. I’ve registered cloud.example.com on Google Domain to point to my droplet’s IPv4 address. I’d as like a main page, ‘example.com’ which goes to something else, say Django. And then a third, ‘blog.example.com’, 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, 10.10.10.10:10 and then over at my domain control I point cloud.example.com to that port. The blog would get 10.10.10.10:11 and ‘blog.example.com’ 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?



This textbox defaults to using Markdown to format your answer.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.