This module adds a Domain field to stores. It then uses this domain to resolve the current store.
This allows de.mystore.com to represent the German store. Drupal’s language can also be configured to be negotiated by domain. This allows for one Drupal Commerce site and support for multiregional stores with their own domain.