By eflchina
I have Mediawiki and Moodle on my droplet. Can I install NextCloud on the same droplet? While installing, do I add my server’s domain name like this: example.com or like this: example.com/nextcloud?
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!
Hello, @eflchina
Yes you can install NextCloud on the same droplet. You can host multiple websites on one droplet by adding multiple Virtual Hosts. You just need to create additional virtual host for another domain name or install NextCloud in a subfolder so you can access it as you mentioned in your example: example.com/nextcloud
If you’re using Apache you can check this tutorial:
https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-18-04
And for Nginx you can check:
https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-18-04
Step 5 – Setting Up Server Blocks (Recommended) it’s the one you need.
You can also check this tutorial which is still valid and should help you as well - https://www.digitalocean.com/community/tutorials/how-to-set-up-nginx-server-blocks-virtual-hosts-on-ubuntu-16-04
Hope this helps!
Regards, Alex
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.