I have multiple domain names pointing to a single directory. There is another domain that is also pointing to the accounts ip address. I want to stop the server from serving anything to the "other" domain.
All resolve to /home/person/public_html using one ip address
is resolving to this same ip address and the pages from a.com are being served.
I don't have any control over external.com, just my own apache server.
I want to use htaccess to stop all requests for test.external.com from serving a.com's pages. Preferably returning a 404 or other more relevant code for "does not exist".