I am using Ubuntu 12.04 and I have a rails application, that I would like to start on boot. Also if I start the server from console like
cd <path of the application>
rails s -p 3000
I will have to keep the console open, else the application will end as soon as I end the terminal.
Second to access the application I will have to access localhost:3000. I would rather like to have access it with a proper name like localhost/myapp or just myapp in browser.
First, is it possible? How do I do that?
PS: I already have some PHP applications running on Apache. I would not like to mess with the default 80 / 8080 port.