Tag Archives: terminal

How to Whitelist Googlebot, Bingbot in CSF

WHM ConfigServer Security & Firewall, CSF ignore file

One way to prevent server load spikes and maintain fast performance is to block problematic IP addresses and IP ranges. However, you have to make sure that legitimate crawlers, such as Googlebot and Bingbot, are not accidentally blocked from accessing your websites. Don't crash your SEO! We covered this important step in, “How to Stop High Server Load from Distributed Botnets, Scrapers, and Database Queue Locks”. If you don't know how to do this whitelisting, this tutorial is for

... Continue reading
Posted in Coding, Server Admin & Security | Tagged , , , , , , , , , , , , , , , , , | Leave a comment

How to Edit .htaccess on the Site Level or Add Rules Globally

WHM Terminal

In "How to Stop High Server Load from Distributed Botnets, Scrapers, and Database Queue Locks" we talked about how to fix your high server loads. That included adding rules to your site's .htaccess file, or updating the rules globally. If you don't know how to do that yet, this guide is for you.

Crucial First Step: Make a Backup

Before touching .htaccess, always make a copy. A single typo in this file will cause a "500 Internal Server Error" and take

... Continue reading
Posted in Coding, Server Admin & Security | Tagged , , , , , , , , , , , , , , , | Leave a comment

The Developer’s Guide to Identifying and Optimizing Slow MySQL Queries

Web developer optimizing MySQL queries

This tutorial will guide you through identifying, extracting, and analyzing your most problematic database queries using the command line on a WHM/cPanel server.

If you’re using UltimateWB for your backend, chances are you won’t need any of this. We optimize UltimateWB to run fast whether your website is small or large. But in case you need it - for example, if you are adding complex custom code or building a project from scratch - this guide has you covered.

Related:

... Continue reading
Posted in Coding, Server Admin & Security, Web Hosting | Tagged , , , , , , , , , , , , , , , , , , | Leave a comment