Installing NextCloud next to Mediawiki on the same droplet

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: or like this:

Submit an answer

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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:

If you’re using Apache you can check this tutorial:

And for Nginx you can check:

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 -

Hope this helps!

Regards, Alex