Google PageSpeed module, now Apache PageSpeed module works from the server side to perform a lot of work easier avoiding WordPress plugins or PHP snippets. The good thing is that it is free and offers a ton of features. The bad thing about the Apache PageSpeed module is that the result is inconsistent and sometimes hurt the page loading speed. It does not hurt to test this module's support to … [Read more...]
How to Fix : Config variable ${APACHE_RUN_DIR} is not defined
This particular error bears the error code AH00111 which comes from line number 1227 of the /server/core.c file which reads case USE_CANONICAL_NAME_UNSET:. The comment written about USE_CANONICAL_NAME says - "With UseCanonicalName on (and in all versions before 1.3) Apache will use the hostname and port specified in the ServerName directive to construct a canonical name for the server. (If no port … [Read more...]
Fix : PHP-FPM Consuming Too Much RAM (Apache, MPM Event)
If you have followed someone's guide like we have published How to Install Apache MPM Event and PHP-FPM on Ubuntu Server then in certain cases (depending on your setup) your server may consume near 100% RAM. This article discusses how to find the faulty settings for your setup and fix them to bring it back to 50% RAM consumption so that the server does not trigger OOM Killer (that means Apache or … [Read more...]
What Are the Advantages of Dedicated Server Over Cloud Server (for WordPress)
This article is complimentary to the previously published article What Are the Advantages of Cloud Server Over Dedicated Server for WordPress. Even the $100/month dedicated servers offer certain advantages over cloud server for the purpose of hosting WordPress. While the list of reasons why cloud servers are superior to running WordPress is endless, it is true that on a dedicated server, you are … [Read more...]
Setup Varnish Cache with Apache and TLS/SSL Termination
Varnish demands experience and keeping an eye on your server. For that reason, test this guide on a non-production, non-money-making site with SSL. It will cost $5/month or less to host such a WordPress site on a VPS. If you manage the HTTPS site with Varnish for a couple of months, you'll gain some confidence. If ever Varnish started to throw errors on your production server, you have to … [Read more...]
How to Increase the WordPress Upload Size Limit (Ubuntu, Apache, MPM Event)
To follow this guide, your WordPress is required to be installed on a VPS or a cloud server or a dedicated server with root privileges on SSH. This guide does not apply to WordPress sites that are using shared hosting (such users can use WordPress plugins which increases the limit). LAMP server customization is complicated since not everything is documented clearly. It is common to try changing … [Read more...]
How to Protect WordPress wp-login Page on Cloud & Dedicated Server
There are many ways to protect the wp-login.php webpage, at least limit the attempts. For a single server single website setup, we should try to avoid (i) hosting a mail server on the web server and (ii) self-hosted forms. Today, there are many types of SaaS which provide the required services. If you ever forget your login password, you can reset it from the MySQL command line. … [Read more...]
What Is Offshore Hosting?
Generally offshore means "in a different country" or "outside the country" or simply "abroad". In the old days, waterways were the mode of transport for longer distances. Valuable people used to build houses in friend countries to hide their asses in difficult times. The purpose of offshore hosting is similar. Generally living in the US and hosting your site in India or vice versa is usually not … [Read more...]
How Much RAM Does a WordPress Site on a Dedicated Server Need?
A huge RAM is required to run a WordPress site if you are using Apache with SSL/TLS. 12GB will sometimes feel risky for a WordPress site with 2000 to 10,000 unique visitors per day. Because these days we are using SSL/TLS and there are other software not directly related to WordPress. There are many reasons why so much RAM is required and the need for RAM varies from site to site depending on many … [Read more...]
Advantages and Disadvantages of RAID 1
In our earlier article, we have explained the types of RAID used in real life. RAID 1 consists of the use of n number redundant disks where each disk in the pool contains the same data at all times, hence we use the word "mirroring" to denote RAID 1. RAID 1 is a popular data storage technology for the operation of server applications particularly for entry-level to mid-range servers. But what … [Read more...]
How to Install OpenLiteSpeed on Ubuntu Server
OpenLiteSpeed is the open-source edition of the LiteSpeed web server by LiteSpeed Technologies of China. It belongs to the closed-source segment and you have to install the PHP component from their repo. At the time of writing this guide, this web server supports HTTP/3. It supports a lot of Apache web server modules but there are differences with Apache. Unlike Apache, it provides a web-based … [Read more...]