You can use Preview Deployment Suffixes allow dynamic subdomains like:
We can use preview deployment suffixes to allow dynamic subdomains but it doesn´t disclose how this is done. As far as I can tell that feature only allow a single domain but not dynamic values. Am I missing something?