So I own www.example.com
.
I have an A record pointing to my IP, and also have a CNAME for www.
Clearly my IP is shared, because if I access it, I get taken to www.domain.com
Anyway, last week, I googled for www.example.com
, and it's been indexed under www.domain.com
which is pointing to my IP. I assume some type of nasty SEO scrapping site?
This led me to this post on the webmaster exchange, where I implemented the Perl script shown. Now, when I google my domain, the blackhat one still shows up, even though if you click on it, the page shows a 404 like this: 404.
This site has now been responding with a 404 when accessed, yet it's still indexed instead of my real website. How can I actually stop google from indexing this website, and I guess, further block it? My VHosts and .htaccess is pretty simple.