You may find it necessary to block a specific IP address from accessing your Drupal 7 website. Perhaps they are a spammer or have been attempting to break into the site to vandalize it. This can be done very quickly through your Drupal 7 admin dashboard.

  1. Log into your Drupal 7 Dashboard
  2. Go to Configuration
  3. Click IP address blocking, located under the People category.
    drupal_ban_ip_1
  4. Type in the IP address to block and click Add.drupal_ban_ip_2
  5. Now, when a visitor with that IP address visits your website, they will see the message “Sorry, 141.0.10.182 has been banned.

    If you need to at a later time, you can also unblock IP addresses.

If you need further assistance please feel free to ask a question on our support center.

Like this Article?
ampoliros 2013-02-25 4:51 pm
What about blocking a range of addresses?

Login to comment.

Your Opinion Matters

... but we need to know what you're thinking!

I'm Tim Sisson, your friendly Community Support technician, and I wrote the article you're looking at now. I like to think it's perfect, but I'm sure you have some suggestions. Please, let me know what they are!

Feedback
Your Email Address
Because we'd like to talk with you!

Latest Questions

If you need some help, submit your question to our Community!
We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)
Ask a Question!
Recent Questions
  1. Configuring Mandrill SFP / DKIM settings
  2. Why can't I access the admin page?
  3. ftp application

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!