Need help to configure RoR to host on Linnux

Hi all,
I have bought a space on BlueHost to host my RoR project but I couldn’t
find solution to configure to call my controller by just typing
www.whollycity.com/mycontroller.
It would be a very thankful to whom who can help me to do this.
Regards,

Sok.

mycontroller_controller.rb, I just do like this:
class MycontrollerController < ApplicationController
def index
render :text=>“Hello to My RoR”
end
end

go to routes.rb file in config directory and add something like
map.connect ‘:controller/:action/:id’, :controller => ‘mycontroller’
before this line
map.connect ‘:controller/:action/:id’

also rename the index.html file in your public folder to something
else, like index1.html

and then restart your server

this should work

On Nov 22, 2:24 am, Sok C. [email protected]

nas wrote:

go to routes.rb file in config directory and add something like

map.connect ‘:controller/:action/:id’, :controller => ‘mycontroller’
before this line
map.connect ‘:controller/:action/:id’

Shouldn’t that be:

map.connect ‘’, :controller => ‘mycontroller’

Opps my mistake I thought he was trying to access the site from /