https://en.wikipedia.org/wiki/Server_Name_Indication#Securit...
Spend some time with wireshark running while you visit “google.com” in a web browser and you’ll get a better intuition on the topic.