How to add uuid or timestamp as subdomain for every created meeting

Hi.

To avoid that people create the same room name, I want to add that, for every room created, a subdomain with a UUID or Timestap is added to the URL. So if someone want to create the roomname Test, the url becomes meet.domain.com/{uuid}/Test.
Could someone point me towards the best place/file to do that?

Thanks!!

Regards,
Rick

Any help would be greatly appreciated!