Update hostname/domain methods

Setting the domain now automatically clears the subdomain