domain names within app


I have an shopping cart rails app.

I would like to be able to host multiple domain names within the same
shopping cart application.

I would like to be able to detect the domain name, and then set a
parameter that tells what logo to display for that domain name.

Does anyone know how this can be done?


Have you looked at the doc for the request object?