enable specifying the public hostname