I have someone who added my IP address (private server) as an A record to some of his porn domains. Apache is delivering the default page ("It works"), but I try to find a way to not answer the call at all.
Anyone any idea?
Thanks
I have someone who added my IP address (private server) as an A record to some of his porn domains. Apache is delivering the default page ("It works"), but I try to find a way to not answer the call at all.
Anyone any idea?
Thanks
Set your default virtual host to a 403 forbidden response/message:
<VirtualHost *>
ServerName nohost
ErrorDocument 403 "The website you requested was not found on this server"
RewriteEngine on
RewriteRule . - [F]
</VirtualHost>
I once had a similar problem. I solved it using redirects.
Go take a look at this question I posted
You could just redirect all requests to a 404 or a blank page.