Weird problem with branch subdomains

Have a look here: Bug: Branch subdomains remain linked after repository change - #2 by fool, maybe it will help.