Is it possible to use one domain for two Rails projects on two different droplets?
I have two droplets with two different Rails 5 projects (ubuntu 18, nginx, puma). One for the website and another for API (backend fo...
That's certainly feasible.
Make Sure api.example.com resolves to the intended Droplet and Nginx has virtual hosts configured to handle requests for this subdomain. Same applies to Main domain on the other Droplet.
Ruby on Rails