MihanServer.IR

مرکز آموزش

cPanel Basics: How To Block Access By IP Address

Sometimes your website’s security (or your entire web server’s) can be at risk because of malicious people. And it’s not necessarily a user that’s attacking your system; it could be an automated script that just “found” your server.

Attacks are not always in the attempt of breaking in your system. It could be a DoS (Denial of Service) or a spammer trying to post comments on your blog or forum.

While there are some automated solutions to this (like APF or cpHulk), there are times when human intervention is needed.

In this tutorial, I will show you how you can block IP addresses manually with cPanel.

This tutorial assumes that you’re already logged in cPanel. Your control panel skin and layout maybe different from my InMotion Hosting account.

  1. From the Security panel, click on the IP Deny Manager icon.
    cPanel IP Deny Manager - InMotion Hosting
  2. Now at this point, you must know either the IP address, the IP address range or the hostname your want to block.
    I do not like the fact that cPanel says you can enter a domain name to block because you’re not blocking an entire domain, you will only be blocking the IP address corresponding to this domain. You’re rather blocking a hostname, not a domain name

    cPanel - Blocking IP Address - InMotion Hosting

  3. Click on Add button and you’re done.

You should now see the IP address blocked at the bottom of the screen:

cPanel - Blocked IPs - InMotion Hosting

To give access back to the blocked IP, simply click on the Remove link next to the corresponding entry.



آیا این پاسخ به شما کمک کرد؟

افزودن به مورد علاقه ها افزودن به مورد علاقه ها

چاپ این مقاله چاپ این مقاله

خوانده شده
How to install Zend Optimizer (مشاهدات: 317)
Static IP vs. Dynamic IP Address (مشاهدات: 231)
How To Prevent SSH Root Access (مشاهدات: 120)
Linux server MP3 download problem (مشاهدات: 101)

Powered by WHMCompleteSolution

زبان:

منوی سریع

ورود کاربر

ایمیل

کلمه عبور

مرا به خاطر بسپار

جستجو



پیگیری ما در توییتر