can i run rails and apache on one box?
lo there all,
i am running apache2 on ubuntu-dapper. I am using virtual hosting w/ about 7 sites. All of these are php and html sites. Now i am wanting to do some testing and learning with ruby rails, but i don't want to mess up my main config or anything.
so, can i run rails on the same computer ? rails, by default runs on port 3000, how could i set something like that up with my dns ? i use zoneedit for dns right now. lets say i wanted a new domain for rails like nephishrails.com and set my ip up at zoneedit. Would i put my ip plus my port number ? xxx.xxx.xxx.xxx:3000
or could i just serve it from a doc root like my other sites in /var/www/somewebsite/web_root. And would i configure apache the same way and serve the rails stuff on port 80 ?
lots of questions, i know, but i just wanted some tips or links to good docs if anyone has them or any experience with trying this out.
SO, if you have read this far, bless you, and thanks for your time.
|