I'm having some trouble getting my site to appear in search rankings.
I ran into the problem when I switched my domain over to ssl/https. The website remained on a shared IP address and since it was the only site on the IP with a certificate all other domains on the shared IP started showing my website if accessed over https.. as a result Google has indexed lots of my pages on other domains.
This is called SNI (Server Name Indication), which allows you to install multiple SSL's on a single IP. What happens is, since the domains are sharing that IP and only one has an SSL installed, when the server receives a request it defaults to the primary SSL installed.
I've tried several things to correct the situation:
Moved my domain to it's own dedicated IP address
Installed SSL certificates on the other domains effecting my rankings so now when pages are accessed over https, it shows the source site, rather than my site.
Setup 302 redirects on any pages on the sites redirecting to my own so if a page is accessed from the 3rd party domains it redirects to the correct page on my domain.
.. however, it's been several weeks and i'm not seeing any improvement. My site is in Google Search Console and I have set preferred domain and forced Google to re-index my site.
I know Google is listing my pages because if I search for
site:mydomain.com I can see all indexed pages.
I've also asked Google to re-index the other sites affecting my site.
I can also bring up certain pages if I search for its
<title> in it's entirety... However just searching for the company name it's bringing up my pages as if they're on the other domains on the shared IP.
Any thoughts on how I can fix this? I'd hazard a guess that the other domains are ranking my pages and since they have more authority than my domain Google is choosing to show them in search results instead.