Multiple domains on the same droplet

Posted July 1, 2013 45k views
Is it possible t o link 2 or more domains to the same droplet? Or do I have to create a new droplet for every domain?

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.

Submit an Answer
6 answers
You can have multiple domains on a droplet without cPanel:




by Etel Sverdlov
This tutorial shows you how to set up a new directory, how to grant the correct permissions, how to add content to a new page, how to turn on virtual hosting, and how to, if needed, set up local hosts. Virtual Hosts are used to run more than one domain off of a single IP address and allows you to run multiple sites off of a single DigitalOcean droplet. This tutorial describes how to set up virtual hosts with Apache.
  • How to add domain on dns DO panel for multi domain and how for NS setup on Domain Provider (like namecheap) for second domain this using ns1.digitalocean, ns2.digitalocean, ns3.digitalocean

I found the answer:

Yes, it is possible but I need to install php/mysql and run cpanel.

I have a few questions regarding this. My server currently runs on Python and Postgres. Is it possible to install PHP and Mysql alongside it without any conflicts?

Since cPanel requires a license fee. is there an alternative open-source platform that will allow me to manage and host multiple domains?
Will it work alongside Python and Postgres? No conflict?
Yes, it's a webserver - it's not related to neither python nor postgres.

The easiest way to do this is now using the free plesk one-click application that is available on the DigitalOcean marketplace: