Multiple domains on the same droplet

July 1, 2013 33k 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?
5 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.
Have another answer? Share your knowledge.