Report this

What is the reason for this report?

Two sites on one Rails droplet

Posted on July 22, 2014

Hi there, I’m trying to get two sites set up on one domain and thought I could ask for recommendations here as to where I might start.

Specifically, I need example.com to point to a flat site somewhere (would /var/www be a good place to put it?) and api.example.com to point to the rails site (which is effectively just a JSON api). All the DNS is set up and working.

Thanks in advance

Daniel

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.