When installing additional hosts beyond the first one you can use the private ip address for both the public hostname and private ip. When installing the initial host, you need to make sure the public hostname is routable from within the host and from any other host that needs to access the UI and the API (e.g. your laptop).
As a side note, in the upcoming beta release you won't need to specify the public hostname at all anymore (neither for the initial host nor for additional hosts).
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.