Report this

What is the reason for this report?

How to configure Ruby on Rails app going from port 3000 to deployment?

Posted on January 23, 2015

Hello All

I have been stuck in this process for a while now, so I have the project ready to and are able to run it in port 3000 (I need to do rails s every time)

My question is how do I move from visiting ip:3000 to simply visiting ip? (still figuring out the dns thing)

I have tried to restart the project and test with the default home page and only devise gem, and any changes I made to the index.html.erb will show up, but the pages I added in with devise will not be there.

There was a time I played with nginx to see if it’s its problem but changing what it listens to doesn’t seem to help?

Thank you



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.

Well I started in one click install, so it comes with Nginx and Unicorn and I was trying to look for advice on fixing the problem by configuring the two.

Those tutorials are tutorials starting from a blank ubuntu droplet, is there a way to convert my current droplet to a blank one and keeping all the snapshots or I have to get a new droplets? Update:I’m rebuilding from image, but still would like to know how to go from one click install rails app to deployment though

I have this same problem. My devise isn’t working on my one 1-click ruby image either.

There are a few ways you could accomplish this. Two of the most popular are using Passenger with Apache and setting up an Nginx reverse proxy in front of it. Check out these tutorials for a run down on both options:

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.