By Ian Pringle
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!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.