Report this

What is the reason for this report?

subdomains question and rails

Posted on May 7, 2013

I don’t know too much about configuring nginx/apache. Right now I have managed hosting elsewhere with several domains. I want to move one domain here so I can host a rails app on a subdomain (managed hosting has crappy rails implementation) and keep my static files on the main domain. So basically I want to (1) move the whole site over (there’s not a lot there, a few directories with static pages) and (2) setup a subdomain with a rails app.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

(1) I’d suggest you rsync the files over to your droplet, or tar them up and scp them if rsync is not available on your current hosting provider. <br>(2) Take a look at this article: https://www.digitalocean.com/community/articles/how-to-install-rails-and-nginx-with-passenger-on-ubuntu

The developer cloud

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

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.