I'm not an IT person, so please bear with me. That said, I know enough to follow along.
I'm a small scale webmaster (and I use that term lightly). I literally have one site – my church – that I host & manage their webpage as part of my giving. Its a WordPress site and I manage it through the Cpanel interface. A few weeks ago my provider reached out about high usage on my site that was tripping the CPU usage fault on their server. This has happened before and I generally block a few IPs and it goes away. This time however, they are asking me to upgrade my plan to provide more bandwidth, but I know I don't need it. This is a small church (<100 people) with few online users. We are located in southern California and have a handful of folks elsewhere in the US and also Northern Europe and Australia. The website is mainly in place to help drive traffic to the church (weddings, receptions, events, church services, etc.). I want the site to be crawled by sites (Google, Bing, and such) that will help improve web searches and promote the site within our area, but realize most of this traffic is not doing that. Looking at my visit stats I'm seeing hits outside the US, mainly from China & Germany (neither of which I care about), but also sites that are supposedly US-based IPs that tie to companies like Hetzner Online GmbH. I've blocked huge swaths of IPv4s. At the recommendation of my host, I also have the G7 firewall in my .htaccess and have a robots.txt file with crawl-delay and disallow requests for numerous paths in the site as well as certain bots. I also use the Wordfence Security plugin within WP. Wondering if there is a more efficient way within Cpanel to block this unwanted traffic. For instance, I don't see a way of saying "block all traffic from China" or XYZ company.
I appreciate any guidance and apologize if this topic is already covered.