Quantcast
Channel: Active questions tagged config - Stack Overflow
Viewing all articles
Browse latest Browse all 5060

Google indexing and caching wrong https site from the same host

$
0
0

I have a few sites on a virtual host powered by nginx. They all use free LetsEncrypt ssl certification for root domain and for www subdomain. I forgot to inclide the www.example.com server_name to on of my site`s nginx config so it becomes unavailable via https://www.example.com link. But somehow google indexed and cached another nearby site (the first one by name from the sites folder) for this link. The simple fix is to write a proper config and manually reindex the site. But it is very weird situation for me and my question is why did this happen and how to prevent this in general?


Viewing all articles
Browse latest Browse all 5060


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>