I came across an issue where I saw a domain
xyz.com that is pointing to
How do I prevent spam domains from pointing to my domain? I read some posts about setting my virtual hosts and such, but nothing specific about how to prevent it in the first place.
I searched on Google, but most answers are for Apache or IIS, and I'm using Tomcat 7 to serve content directly.