Isn't the automatic subdomain plugin supposed to be in charge of this ?