What is a Hostname?
The hostname in SNI refers to the domain name or IP address of the server that a client wants to communicate with securely over HTTPS. A device that is connected to a network is identified by its hostname. A domain name, or the name of a website, is a kind of hostname in the context of the Internet. Both exist independently of the IP address linked to the domain name.
What is Server Name Indication (SNI)?
All that a server name is is the computer’s name. Unless the server hosts a single domain and the server name is the same as the domain name, this name is not displayed to end users for web servers. An addition to the Transport Layer Security computer networking protocol is called Server Name Indication, which enables the client to provide the hostname it is attempting to connect to at the outset of the handshaking procedure.