I have an online service that provides a public profile for users. Users can sign up and view their profiles at www.example.com/users-name
.
I want to provide a premium service where the user can access this profile via his or her own domain name (with the site itself still hosted by me). So, if they registered users-custom-domain.com
, they could visit that site and they would see the same profile as above, plus some premium features
What kind of infrastructure needs to be in place to support this? Presumably the user would have to point his DNS over to my servers? If I am hosting my product on a cloud host like Heroku can this be achieved? Would each user using a custom domain be accessing a silo'd web application? E.g. if using a cloud infrastructure should each "instance" spin off a new application or can this somehow be shared?
I know there are many ways to achieve this, I'm just looking for ideas and best practices as I am not sure where to start (e.g. how about.me or tumblr achieve this).