Automatic staging environment on shared

I know it’s possible to do with subdomains and automatic on dreampress, but better documentation would be nice.

as it is, I see you can do it with a module too, and I see more and more hosts offer it automatically. I mostly attempt it with drupal myself.