At a high level, three players perform the following roles:
Rails
Application . It includes business logic - user management, buy / sell operations, display / update / delete / create information, etc.
Passenger
Application server . The server equivalent of running rails serverlocally.
Apache
-/HTTP-. ().
. fooobar.com/questions/13951/... .