How to run a multi-domain and multi-stage SaaS web application?

aah aliases would be fantastic, asked for something similar here