Question

Host multiple websites in one droplet

  • Posted on September 7, 2014
  • reshadfarAsked by reshadfar

Hello guys, Is it possible to run like 2 or 3 websites on 1 droplet or do I need to buy another droplet with for each website? If its possible how do I manage this? Does it work like virtual hosts ? Any tutorial or feedback would be nice :)

Show comments

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.

What about MX records, how do you set up for multiple domains hosted on one droplet?

Hello there,

You can host multiple sites (domain names) on a single droplet, this can be achieved using virtual hosts.

The process is really simple, all you need to do is to spin up the droplet via the app marketplace and then manually add the virtual hosts for the other sites.

We have an article that covers the process, which you check here:

https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-18-04

Hope that this helps! Regards, Alex