I recently created a website of my own after buying domain name from namecheap and hosting it on digitaloceans.
http://piyushkhemka.me
After googling my own name after a few days, I see this website which is hosting my website on its own domain :
gobismarckmandan.org (fixed now)
Initially I thought someone was just copying my website, however after a few days, I received a stop and desist letter from them. They thought I hacked their site and used it to host my content.
They are a non-profit website which is understaffed and both of us have no idea why their domain name is pointing to my website.
Any ideas what could have happened?
Anyways, the real question is: to prevent such things from happening again, what should I do? How do I prevent other websites from ever hosting my content?
Do I need to edit .htaccess file? Currently, it looks like this:
ErrorDocument 404 /404.html
Options -Indexes
## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 month"
ExpiresByType image/jpeg "access 1 month"
ExpiresByType image/gif "access 1 month"
ExpiresByType image/png "access 1 month"
ExpiresByType text/css "access 1 week"
ExpiresByType text/html "access 1 week"
ExpiresByType application/pdf "access 1 day"
ExpiresByType text/x-javascript "access 1 week"
ExpiresByType image/x-icon "access 1 week"
ExpiresDefault "access 1 week"
</IfModule>
## EXPIRES CACHING ##
Do I need to add some options to this file?