How to manage teleportation among a hierarchy of places?

I apologize if the title is a little vague, however the below graphic illustrates what I am striving to achieve. Essentially the game page directs the player to the lobby, where they press another “Play” button to be randomly assigned a hub in a separate place. From the hub, there are locations the player can visit in separate places.

My dilemma is how do I contain the players assigned to a specific hub when they teleport to different places? I am striving to have a system where the chat is synced across the hub and separate places to simulate it being one game, while in reality it is many separate places. Does anyone have any resources they could refer me to?

Add a ‘tag’ to the player as they join the game and set it to the Hub they go through should help.
Message synching might be done with cross server messaging as in