Ideas or guides on how to setup an auto-install platform for discourse?

Hi everyone!

Does anyone know how to create a sub-hosting system where users can create their own Discourse instance in your server? As in, their own community? Just like we have multi-wiki platforms, and lots of multi-blogging platforms where users create their own.maindomain.com blog or site. Does that make sense?

Best,
Hugo