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?
-
Yes, I think setting up LAMP stack is the way to go. I guess an apache config that returns 410 status code.
-
Small problem seems to be, that Cloudron Healthcheck seems to get confused by the 410 response...
Its not down. Its responding correctly
@dsp76 good point. I have fixed the healthcheck now to not error for non 5xx errors.
-
G girish marked this topic as a question on
-
G girish has marked this topic as solved on