set hostname in post