HTTP up to version 2 relies on the Transmission Control Protocol (TCP) as the transport protocol. TCP acknowledges receipt of each data packet. As a result, in the event of a packet loss, all other packets have to wait for the lost one to be retransmitted (head-of-line blocking). Google has been working on an alternative since 2012 under the name QUIC, which was adopted by the IETF and … [Read more...]
Cloud Computing
Cloud computing is becoming more and more important. Here are articles on Cloud Computing,Cloud Server,SaaS,PaaS,IaaS and Cloud related technology.
How to Change DNS Provider for Domains with DNSSEC Active
DNSSEC is a great security feature for the domains. Previously we published guides on how to enable DNSSEC and DANE TLSA record. Take that, you use Hover as your domain registrar and DNSMadeEasy as your DNS provider. Now you want to move to CloudFlare from DNSMadeEasy. If you suddenly change the DNS with the DNSSEC record active, the website will not open because the function of DNSSEC is to … [Read more...]
Fastly Plugin for Caching WordPress
Fastly two major services - CDN and whole site caching including acceleration. They have developed a unique offsite caching plugin for WordPress. Their caching and acceleration are dependent on Varnish. Instead of using installing and configuring Varnish on your server, you can test their service. Fastly has impressive performance including the ability to purge everything in the cache. They … [Read more...]
Using the tee Command and Difference With cat Command
The tee command converts a standard output into a standard input and also can write this to files. So tee is practically only about writing to a file. The cat command is for reading (both input and files) and writing (with > and >>) to files. cat is a powerful and safe tool. tee is used in specific advanced complex cases. For the below function, you can not use … [Read more...]
How Much Dedicated Server Cost to Host WordPress
The cost of dedicated servers from mid-range web hosts is comparable with that of high-performance cloud servers from Linode, Digital Ocean etc. When the need for RAM becomes more than 4GB, then cloud servers are not a good choice. The reason dedicated servers with 16GB RAM sell with a $70 to $100 per month price tag is that they have no modern usage in the corporate sector. Additionally, probably … [Read more...]
How to Decrease the Load Time of SSL (Apache2, WordPress)
There are a bunch of performance tweaks for the Apache webserver running WordPress. Our regular readers are already aware that Apache MPM Event and PHP-FPM, HSTS, HTTP/2 are almost mandatory these days for improved TTFB. In this article, our discussion is only limited to the setting of the Apache web server which you can try on a dedicated running WordPress. For testing the settings, choose a … [Read more...]
How to Install and Configure ModSecurity for WordPress
In an earlier article, we published an introduction on mod security. While there are many good reasons to use mod security, this module adds complexity to any WordPress installation. This guide is based on the official directions for WordPress to create a window so that a WordPress user can edit any post, and upload media. Still, you need to monitor the log for unwanted errors (in … [Read more...]
What is ModSecurity? Why Should We Use ModSecurity
ModSecurity is an open-source web application firewall. It is available as a module for the Apache Server, and also Microsoft IIS and Nginx web server. It provides a rule configuration language (SecRules) for real-time monitoring, logging, and filtering of HTTP communications. ModSecurity is probably most commonly used to add protection against general vulnerabilities using the rule set from OWASP … [Read more...]
How to Install Apache MPM Event and PHP-FPM on Ubuntu Server
If your production server is running Apache, mod_php and mpm prefork and you want to upgrade to MPM Event and PHP-FPM, then it is just a few steps. For this guide, we have tested the workflow on a server which is running PHP 7.2 (which is an old version). You can follow similar steps for any present version of PHP, only modify the version number. We have tested that restarting the server after the … [Read more...]
How to Enable PEM Certificate Based SSH Login
After following this guide, you'll get an identity file-based SSH authentication like AWS, HP cloud provides a way to log in. Commonly most of the cloud servers and dedicated servers are delivered with SSH login using the root user account. This is a security risk since any attacker can easily guess the username root and run a dictionary-based attack. The attackers can log in using the root … [Read more...]
How to Optimize php.ini for WordPress (mod_php, mpm prefork)
While mpm prefork is not the fastest mpm available for Apache2 web servers and also does not support HTTP/2 and ALPN, it is thread-safe and not closest to slower when the number of traffic is lower and CDN is extensively used. PHP FPM is faster but demands a somewhat expert person to optimize. That is the reason why some people still prefer mod_php and mpm prefork. The above paragraphs explain … [Read more...]