Get ip from hostname
Any requests for a sub-domain (e.g. www.hcidata.com) are converted to an IP address by DNS and the IP address is used to route the request through the network until it reaches the host machine. In the early years of the Internet, each sub-domain would have a unique IP address so it was common for a host machine to have only one sub domain name.