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=188.8.131.52
However, I can only access it through
http://184.108.40.206:3000/ but not
I might be wrong but I think I need to somehow serve my app from the root domain address like
http://220.127.116.11: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://18.104.22.168/ (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://22.214.171.124/)? 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.