One IP and port can serve many sites. SNI lets the client say example.com in the ClientHello, before any HTTP, so the server can choose the matching certificate.