Recognition

No awards yet.

Posts

1 Posts
  • Published Question

    Two Rails projects on two different droplets with single domain

    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...
    Accepted Answer: 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. Pr...
    1 By vitvetal Ruby on Rails Nginx Ubuntu 18.04