I've got a rails application where clients can make their very own atmosphere.

For instance a customer will get their own atmosphere in a subdomain: client.domain.com

However I would like them to have the ability to map their very own domain towards the subdomain from the domain

How do you do that?

Thanks!

You have to create a connection table between a random hostname and also the customer to ensure that you are able to convert between one and also the other. This might be either a stand-alone table, or perhaps a area around the customer record.

It's pretty straight-toward load this rather than while using subdomain method. Be sure that you pre-populate the area using the existing names you are using.