Recently one of my web sites shows in Google results but the url connected with the Google result is from another website in my server. so i have url-A and url-B
So when i hit url-A in google , I would expect my Google result to be url-A/some-page-from-site-A and instead i get:
This is happening for url-A with 3 more web sites url-C/some-page-from-site-A url-D/some-page-from-site-A url-E/some-page-from-site-A
When i hit the link i get a
"Your connection is not private Attackers might be trying to steal your information from url-B (for example, passwords, messages or credit cards). NET::ERR_CERT_COMMON_NAME_INVALID"
I submitted the links to Google and waiting for removal but i'd like to know what has happened and how can i avoid such incidents.
All web sites are mine and under the same server