How can I run 2 Dokku-based Droplets using the same Domain?

November 26, 2018 2.2k views
Dokku Ruby on Rails Node.js

I am building an application that uses a Rails API with a Vue.js front-end. I’d like to have the Rails API hosted in one Dokku droplet and accessible from, and have the Vue.js front-end hosted in a second Dokku droplet accessible from Is this setup possible in Digital Ocean/Dokku? Please provide any articles that may be of help. Thanks!

1 Answer
jarland MOD November 26, 2018
Accepted Answer

Hey friend,

This should definitely be possible. You should be able to set in your DNS for the root domain and/or the www subdomain to go to the IP of one droplet, and the API subdomain to go to the other.


Have another answer? Share your knowledge.