This is because an SSL certificate is issued for a specific domain name. If the certificate name does not match the visited domain, the browser will display an error.
SSL - , , , , . .
, IP- , DNS -, , . IP-, , DNS. , - .
SSL IP- - Google , 173.194.43.96 , , google ip-, SNI . , , ...
SSL, :
https://timnash.co.uk/guessing-ssl-questions/