fix host for redirect under dotCloud