redirect domains correctly