Loading...

Knowledge Base

Use an IP Blocker to Secure a Website from Malicious Traffic

Protecting your online presence from malicious actors requires proactive security measures, and one effective tool available in Bluehost is the IP Blocker. This feature allows you to control access to your website by restricting specific IP addresses or IP ranges, helping prevent unwanted traffic from hackers, spammers, and malicious bots.

When an IP address is blocked, visitors from that address will receive a 403 Forbidden error, indicating that access has been denied. Taking this proactive approach significantly reduces the risk of data breaches, website defacement, and other cyberattacks.

How to Block an IP Address

Follow these steps to block an IP address using the Bluehost Account Manager:

  1. Log in to your Bluehost Portal.
  2. In the left-hand menu, click Websites.
  3. Click the Manage button located next to the website you want to manage.

    Bluehost Portal - Website Manage button
     

  1. Navigate to the SECURITY tab.

    Bluehost Account Manager - Websites Security Tab
     

  2. Locate the IP Blocker section and click Manage.

    Bluehost Account Manager - Websites Security Tab - Manager IP Blocker
     

  3. In Managed Blocked IPs, click BLOCK IP.

    Bluehost Account Manager - Websites Security Tab - Manager IP Blocker - Block IP
     

  4. Enter the IP address or IP range you want to block.

    Bluehost Account Manager - Websites Security Tab - Manager IP Blocker - Enter IP
     

  5. Click Block to confirm.

A confirmation message will appear, and the blocked IP address will be added to the list of restricted IPs.

How to Remove a Blocked IP Address

To restore access for a previously blocked IP address:

  1. In Manage Blocked IPs, locate the IP address you want to remove.
  2. Click the vertical ellipsis (⋮) next to the IP address and select Delete.

    Bluehost Account Manager - Websites Security Tab - Manager IP Blocker - Removed Blocked IP
     

  3. Confirm the deletion.

Once confirmed, you’ll receive a notification indicating that the IP address has been successfully removed.

How to Block All Access

In extreme cases, you may choose to block all incoming traffic to your website using the .htaccess file:

deny from all
allow from 12.34.567.890 (Example of allowing your own IP)
allow from 123.456.789.000 (Example of allowing another specific IP)

Summary

By using Bluehost’s IP Blocker feature, you take an essential step toward protecting your website from malicious activity. Regularly reviewing and updating your blocked IP list helps maintain strong security while ensuring legitimate users can still access your site. Advanced options—such as blocking all access via .htaccess—should be used cautiously and only when absolutely necessary. Proactive security management is one of the most effective ways to safeguard your online presence against evolving cyber threats.

If you need further assistance, feel free to contact us via Chat or Phone:

  • Chat Support - While on our website, you should see a CHAT bubble in the bottom right-hand corner of the page. Click anywhere on the bubble to begin a chat session.
  • Phone Support -
    • US: 888-401-4678
    • International: +1 801-765-9400

You may also refer to our Knowledge Base articles to help answer common questions and guide you through various setup, configuration, and troubleshooting steps.

Loading...