@@ -109,7 +109,7 @@ var Client = module.exports = exports = function Client(options) {
   // Save original options, we will need them for Client#copyTo
   this.options = utils.merge({}, options);
 
-  var domain = 's3.amazonaws.com';
+  var domain = options.domain || 's3.amazonaws.com';
   if (options.region) {
     if (options.region === 'us-standard') {
       // Pesky inconsistency