[Hummingbird] Always have Blacklisted IPs

Our website is on Bluehost, working with MaxCDN. It always has blacklisted IPs which cause our images can’t load successfully.

We asked MaxCDN team. They explained that ” what happened is your hosting blocked us. We saw that before. What needs to be done is Your hosting needs to whitelist following IP ranges > https://www.maxcdn.com/one/tutorial/ip-blocks/  . Hosting thinks we are spam. But really that is how CDN works”

We whitelisted all IPs in htaccess file. Does this work? Since the IP is blacklisted, why only some images can’t load? how to fix this? Here’s one of the problem page: https://onlydinosaurs.com/portfolio/ice-age-animal-catalogue/

  • Ash
    • WordPress Hacker

    Hello OnlyDinosaurs

    If the IPs are blocked at the hosting level, then using htaccess won’t give you any luck I am afraid. You need to check if there is any IP whitelisting tool on your cpanel. If not, then you have to contact the bluehost support team and ask them to whitelist those IPs for you.

    Using htaccess to whitelist or blacklist IP works only when the IP passed the server level firewall. Hope it helps! Please feel free to ask more questions if you have any.

    Have a nice day!

    Cheers,

    Ash

      • Ash
        • WordPress Hacker

        What do they say if you ask them to whitelist all these IPS?

        https://www.maxcdn.com/one/assets/ips.txt

        Send them the above link, they just copy the list and add it to the whitelist section.

        If bluehost denies to add it, then I am out of ideas I am afraid. You can email higher tech support authority if there is any.

        I am sorry, I never used them, not much experienced about their support :slight_frown:

        Let us know how it goes. Have a nice day!

        Cheers,

        Ash

        • OnlyDinosaurs
          • Site Builder, Child of Zeus

          Thanks for the advice.

          If problem still exists, will try to email higher tech support.

          Well, we just installed wordfence plugin, and there's a section to add Whitelisted IP addresses. And we paste all MaxCDN ips. Please see attached screenshot. Does this work?

          • Ash
            • WordPress Hacker

            As I mentioned earlier, first the IP will ping your server and then it will fetch the site content. Now, if the server blocked those IPs, then the IPs can’t reach the site, as a result whitelisting in site level (using plugin or htaccess) won’t work as the IPs are already blocked by the server.

            If it passes the server firewall, then the whitelisting will work. So, it really depends on how the server blocks them. I would wait couple more days and if it’s blocked again, contact the higher tech support.

            Have a nice day!

            Cheers,

            Ash

          • OnlyDinosaurs
            • Site Builder, Child of Zeus

            Hey Ash,

            We had a further discussion with Bluehost technical team. They provide two solutions:

            1. Whitelist IPs through remote MySQL. Here’s detail: https://my.bluehost.com/hosting/help/308 Does this work?

            2. “I checked with higher team. We won’t whitelist on a shared server. You can try using htaccess to whitelist, but that’s not on the server level – only way to whitelist on the server level would be with a VPS/Dedicated Server. This is what I was suggested by higher team”. Does this make sense?

            Can we have your comments?

  • James Morris
    • WordPress Enthusiast

    Hello OnlyDinosaurs

    The MySQL whitelisting that is referred to in that link is only for MySQL (database connections) and will have no impact on MaxCDN connections.

    I’m afraid that, if BlueHost will not whitelist the MaxCDN IP addresses at the firewall level, then you may need to either consider a different CDN provider or a different hosting provider.

    Best regards,

    James Morris

  • James Morris
    • WordPress Enthusiast

    Hello OnlyDinosaurs

    Whether or not a CDN will need to have their IP Addresses whitelisted has more to do with the web host than the CDN, I’m afraid. If your host has an aggressive firewall, then you may run into issues. However, Bluehost does work with Cloudflare. And there’s very few hosts that won’t work with Amazon. Those are both good choices. You can see a comprehensive list here https://kinsta.com/blog/wordpress-cdn/#popular-cdn-providers

    Best bet is to contact your hosting provider and ask who they work best with. They will likely have much more data available regarding which CDN has been problematic for their clients.

    Best regards,

    James Morris

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.