请稍候...
  • 企业级 VPS主机
  • Windows VPS 主机
  • Unmanaged VPS 主机
  • 通配符证书,部署全网SSL证书必备神器
  • 高速稳定独立主机High quality stable server

如何停止让其他域名解析到你的IP?

发布时间:2013-11-06 11:08:18 来源: nixtree

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.

上一页1下一页
【责任编辑:亚狐科技 (Top) 返回页面顶端