Docs are wrong, IMHO. Again ... if one begins with end in mind ...
You tell me ... how do you want the site to be accessed once installed?
By https://name?
or
By http://publicIPaddress"
The private IP 10. address is internal to Amazon only so am not including that one.
And am also excluding localhost because that, in DNS, is always 127.0.0.1 ... the loopback IP address. That goes no where on internet.
'SoS', Ken