I set up a Rails project, "belldev", and
http://dev.xxx.com/public/resolves to
/home/xxx/public_html/xxx/public/index.html

But when I try to access a controller, I keep getting 404's!

For instance, pages_controller.rb:
class PagesController < ApplicationController
  def index
end
end


AND routes.rb:
xxx::Application.routes.draw do
#Pages controller
get "pages/index"
get "pages/help", as: :help
get "pages/browse", as: :browse
root to: "pages#index

But when accessing http://dev.xxx.com/pages, I get: File does not exist:
/home/xxx/public_html/xxx/rails_apps/belldev/pages


Any idea of where I'm going wrong, here?