One option/idea may be to write your own custom field, extending the default select field.
In your custom field code, you could check for a config value, then load the appropriate domain based on that. Or check the server name. (I’d probably use a config value, though.)