Question
How can I run 2 Dokku-based Droplets using the same Domain?
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 http://api.mydomain.com, and have the Vue.js front-end hosted in a second Dokku droplet accessible from http://www.mydomain.com. Is this setup possible in Digital Ocean/Dokku? Please provide any articles that may be of help. Thanks!
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.
×