Question
How to transfer my domain to my rails application?
I am trying to transfer my domain. I am running my rails app using this command from my rails folder
RAILS_ENV=production rails s --binding=128.199.95.219
However, I can only access it through http://128.199.95.219:3000/
but not http://128.199.95.219/
.
I might be wrong but I think I need to somehow serve my app from the root domain address like http://128.199.95.219/
not http://128.199.95.219:3000/
. I have already point my domain name to DigitalOcean by following this tutorial And I have also setup the host name with DigitalOcean. So right now I just need to configure rails, nginx, and unicorn somehow to serve my app at the domain address or http://128.199.95.219/
(I don’t even know if that is what I need to do. so please help me!)
I am running Ubuntu 14.04 with rails, nginx, and unicorn. I’ve configured my nginx and unicorn according to this tutorial here
How do I make rails application accessible from the root of the domain address (http://128.199.95.219/
)? or is that eve necessary at all?
How exactly do I deploy my rails application? I am lost! Please help!
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.
×