Question

I need a new droplet to each the new domain?

I want use 5 domains hosted in DigitalOcean, then should I create 5 droplets?


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.

Hi nayara,

Check out https://www.virtualmin.com/. Easy to install on a Digital Ocean droplet and makes setting up multiple domains / sites on a single droplet very easy. Digital Ocean also has a great tutorial for this https://www.digitalocean.com/community/tutorials/how-to-install-and-utilize-virtualmin-on-a-vps. I use this daily and am hosting about 7 sites with 7 domains no problem. Also is much more cost effective than running multiple droplets.

Any issues let me know

Why I upload my files in /var/www/html and /var/www but nothing appears???

Its possible to add multiple domains on your digitalocean account with no limit. To do this just

  • Add a new domain to the digitalocean domain management
  • Assign the nameservers of digitalocean (ns1/ns2/ns3), in your domain registrar control panel
  • Create the records you need inside the digitaloceans domain manager
  • For a webserver, configure your vhost so it handles the different domains. This configuration is different depending on the webserver you have.