Blocking malicious domains pointed at a dedicated IP address

I found a situation today where someone had registered a domain and pointed it at one of my customer's websites who has a dedicated IP. By default, cpanel will allow any host header to bring up the website. It was drawing quite a bit of traffic to the server with visitors and crawlers to this fake website.

It could be blocked at the application level, but it's simple enough to do with .htaccess:

RewriteCond %{HTTP_HOST} !^
RewriteCond %{HTTP_HOST} !^
RewriteRule .* - [F]

The fake website was registered with a DNS provider and pointed at the dedicated IP on my server. I spotted it by seeing the fake HTTP host in the logs.


Now our system become more secure and have strong security for detected.Many students help writing a cv on security threads because it much needed.The DNS also help in this point of view.

That's very interesting, quite a rare situation but sounds like you handled it like a champ! icariin 60

Everywhere you go, you hear nothing but fine things very more or less WordPress. What is WordPress and how can you construct your web have an effect on upon this special software? WordPress is an right to use source blogging platform. jiofi mifi

This post is exceptionally easy to peruse and acknowledge without forgetting any points of interest. Extraordinary work! You finished certain dependable focuses there. I did a pursuit regarding the matter and discovered about all people will concur with your blog. help in essay

Nice blog, the article you have shared is good.This article is very useful. My friend suggest me to use this blog.
Paramedical college in dehradun

Students learn best when they actively participate in the lesson or that they feel valued when teachers encourage them to share their knowledge with their peers.
Best school in Hisar

Creating a blog website can be one of the most powerful decisions you can ever take on as well as it comes to your issue. It acts furthermore a central hub where you can profit most of the traffic which can slant into leads and even sales! Check out 2 enormous assist of creating a blog website here. You obtain not indulgent to miss this!