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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
(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