I have a site 'aaa.com' for instance on a dedicated server. And there is another site 'bbb.com' which became able to display all my site content. It was able to get all the traffic that is coming from google.com to his domain. When I checked its info on who.is, it gave me the same ip address of my server but a different dns. How could that happen?
2 Answers
It's called DNS. Specifically a CNAME record. A CNAME points to another DNS name. So bbb.com would point to aaa.com which then resolves to an IP address. If people go to bbb.com it resolves to your dedicated server's IP address with . (The last part may or may not be entirely true about host headers and can depend on how Apache is set up) aaa.com in the host headers so your web server displays your website
A while back there was a domain name: the source.ofallevil.com that pointed to Microsoft.com. If you want to http://thesource.ofallevil.com, the URL in the browser would not show Microsoft.com, but the content was purely Microsoft.com. It's all DNS. There is no modification of content, no smoke and mirrors.
To rectify this, you could possibly get a lawyer involved. Just sit back and enjoy the traffic.
- 33,060
DNS allows any domain to point to any IP. If you really do not want this to happen, then you should set up your web server accordingly...You can have it serve documents to only a certain domain, but as it stands, you are serving to any domain (including the ip, i.e: http://1.2.3.4)
- 3,240