Setting up two Rails 4.2 applications on a single Droplet?

April 29, 2015 633 views
Nginx Ruby on Rails DigitalOcean Ubuntu

Hi, I'm trying to setup Rails staging server which has the subdomain, staging. Thus, I have performed the following successfully:

  • deployed the app (i.e. /u/apps/example_staging)
  • created a staging domain (i.e.
  • created an A record on the staging domain

Now, when I try to navigate to the staging site in the browser, I'm viewing the production version of the site instead of the staging version of the site. Did I miss something in regards to setting up the DNS and/or Nginx server config?

Be the first one to answer this question.