correct public host name at the end