Pointing multiple domains to one meteor instance?

So the goal is to build a multi-tenant meteor application where the tenant ID would need to be based on the domain of the incoming request. E.g. www.example1.com would have the tenant ID of “example1” and www.example2.co.uk" would have the tenant ID of “example2”.

Is it possible to achieve this type of behaviour?

I was thinking of have a static instance running under a certain domain e.g. example.herokuapp.com and tell each tenant to point there domain to the heroku app?

1 Like