Score:0

One domain name, two locations, depending on login information

hu flag

We have 2 identical websites located in 2 different countries on two different subdomains in the same domain name, i.e. "us.site.com" and "ca.site.com". It is setup this way due to privacy laws that require the data be stored in the country it belongs to. We want to have a single domain name for users to login to like www.site.com. We want to keep the 2 locations separated. Is this possible?

More details: After the user has logged in, we want the domain name to appear as "www.site.com" even though the user's session is being hosted in "us.site.com" (USA) or "ca.site.com" (Canada) depending on their username. I hope this makes it more clear.

djdomi avatar
za flag
usually yes. depending on the use case you planned. but you did not give us enough information. so we can only speculate
Score:0
us flag

yes, you are correct. each subdomain is counted as a single domain and could be set up on different servers and different countries. The NameServer here is just doing the name resolution to point the request towards the requested subdomain.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.