public_hostname adjustment