Blocking Maliciuos bots from accessing your website

It is always a nuisance when unnecessary bots start hitting your website. It can increase CPU load on your server and may cause MySQL overhead as well, if your website driven by any database. Though the bot access says to be controlled using robots.txt files, most malicious bots do not honor rules defined in robots.txt file. The most reputed … Read more

ntPHPSelector – short_open_tag

I have noticed many users are reporting miscellaneous issues ( like PHP blank pages ) after switching to additional PHPs. Even many of them could not get phpinfo() working on their custom PHP versions. It is unusual and once ntPHPSelector is installed properly on your server, it should server without any problem. So the first thing you should ensure … Read more

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.

Read more