         nameFactory.next (err, uid)=>
           return callback err  if err
 
+          nickname = user.username
           hostnameAliases = JVM.createAliases {
-            nickname : user.username
-            type, uid, groupSlug
+            nickname, type, uid, groupSlug
           }
 
-          JVM.createDomains hostnameAliases
+          JVM.createDomains hostnameAliases, hostnameAliases[0]
 
           vm = new JVM {
             planCode      : planCode

            return callback err  if err
            group.addVm vm, (err)=>
              return callback err  if err
              if type is 'group'
                @addVmUsers vm, group, ->
                  callback null, vm

        type, uid, groupSlug
      }

      JVM.createDomains hostnameAliases, hostnameAliases[0]

      vm = new JVM {
        users         : [
