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} !^www.example.org
RewriteCond %{HTTP_HOST} !^example.org
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.

Comments

There is a decent probability that your site shares the ip location of another high movement site. In case you're facilitating your site on a mutual facilitating stage that makes not benefit a showing with regards to of allotting assets, your site could be moderate. Please Visit Our Website http://www.buyassignmentservice.com/fast-essay-writing-service

Download MSQRD APK Android App for your Smartphone. MSQRD APK Download Appis provided here with official links. http://www.msqrdappdownload.net/

Blogging can become difficult when ideas begin to dry out and creating content becomes more difficult. Learn how you can create new content with old content.
jiofi.local.html

There are many in this world suffering from diabetes. The fight must be wages to defeat this ailment. This poem outlines some action one is able to undertake that will aid in the bodily defenses against this aliment of diabetes.
eaadhaar.uidai.gov.in

If you own a blog you know the importance of keeping your blog fresh and your audience interested. It can be challenging to come up with blog posts that won't bore your visitors and is interesting enough to keep them coming back.
SBI HRMS

Although there are a number of different reasons why you would want to create a blog website, the way that you go about doing it is generally the same. Here are some pointers to help you get started when you create a blog website.
jiofi Login

Your interest in nutrition means that you are probably already a label reader as you traverse the supermarket aisles. You also hear about food and nutrition on the evening news. The knowledge you acquire about nutrition for optimal health can truly be life-changing. These tips will help you in your efforts to get the health and energy-giving nutrients that you need.

Pack your own snacks for the flight. Food at airports and on planes can be quite expensive and selection can be limited. To save money and ensure you have healthy food that you enjoy, bring your own. This also can be a lifesaver if you end up in one of the stuck-for-hours-on-the-runway nightmare scenarios. crazybulk avis

Pretty part of content. I just stumbled
http://write-my-essays.org/ninjaessays-com-review/ upon your weblog and in accession capital to assert that I acquire in fact enjoyed account your blog posts.

Wifikill is an amazing Android mobile application that helps you in disabling the other people from using your wifi network. you can get it from here http://www.wifikillapk.co/

Google Play Store is Google's official source for Android apps and downloads. ... Store · APK Downloader - How to Download APK files from Google Play Store.
https://playstoreapkdownload.org/

If you’ve ever struggled with any of the issues below, you’re in the right place. music production tips

First, I have a confession to make. I am very bad with managing my time. I have always had loads of stuffs to do, all piled-up until the very last minute.
?ssay writers

Writing an essay requires much preparation and concentration. An outline is the reflection of the writers' thoughts and imaginations. Outline is the main factor of the blueprint of an essay.
jimmy

Wishing you the best of luck for all your blogging efforts.This is my first opportunity to chat this website. I found some interesting things and I will apply to the development of my blog.
Best MBA college in Punjab

If you've ever just needed a bit of advice in order to make something happen, we have that for you here. Weight loss can be just a matter of making the right choices, but how do you know what those choices are? The rest of this article will attempt to shed some light on things you can do to lose the weight you want to lose.

Steaming foods that you would ordinarily bake or fry is a great way to decrease the fat content in your food. Steaming food will cook it without adding butter or any other unhealthy supplement. Choose fresh foods with lots of flavor,that way steaming or grilling can be a great way to cook your meals without adding fat.

A great way to lose weight is to enlist the services of a personal trailer. The average person probably doesn't know that much about fitness, and they get pretty intimidated upon entering a gym. With the help and guidance of a personal trainer, you'll be more equipped to reach your weight loss goals. http://www.unlockyourhipflexors.org/

DPS has a very good hostel for the students where they get homely environment. Students of various age groups and different places live in the hostel.
Best CBSE school in Rajasthan