Two sites on one Rails droplet
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
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.×