The way domains are handled, it is possible that both of them point to the same machine. So, in reality the only difference between both of your example logins is the username. Now, because the user names are different (and need to be unique per machine (or maybe even DH systems)) each can be pointed at their own unique directory.
Wholly - Use promo code WhollyMindless for full 97$ credit. Let me know if you want something else!