What would be the easiest way to add a subdomain and return an error 410 (gone)?
I have a subdomain, which - by mistake - linked to an old ip. Later it indexed a lot of wrong pages, not related to our domain.
I now want to remove it from google index and issue an error 410 for each calls to this subdomain. What would be the easiest way? Setting up a LAMP stack?
Or can this be done simpler?