Tag Archives: redirect

22Oct/13

How to stop other domain name point to your IP?

I could see that some domains point their host to my IP. For example, if someone type www.other-domain.net, it redirect to my IP: 255.255.255.255 which is address of my web. Since my domain is hosted on a dedicated IP, the domain www.other-domain.net  will load the content of my site.

There is absolutely nothing you can do about people pointing their DNS at your IP address because it is their DNS. One thing they can do is direct people to your website with their domain name in the URL bar. You can easily redirect visitors to the correct domain by putting this in your .htaccess file.

RewriteCond %{HTTP_HOST} !^www.my-domain.com$
RewriteRule ^/?(.*) http://www.my-domain.com/$1 [QSA,R=301,L]

Also try reporting domain registered companies for abuse.

Continue reading