Use HOSTNAME variable to set hostname in CTX.