Cookie Consent by Free Privacy Policy Generator

How to enable HTTP2 in EasyApache 4 on WHM (Web Host Manager)

In this post, I will show you how to enable HTTP2 for WHM/cPanel. HTTP2 is a modern variation of the HTTP protocol and it optimizes the TCP connection between a server and a web browser.

It cuts down on latency and enables more queries to be made, resulting in faster-running web applications. Meaning faster websites. A faster website can help your website rank better in Google Organic Search.

To enable HTTP2 in EasyApache 4 on WHM (Web Host Manager), follow these steps:
  1. Login to WHM as root.
  2. Go to "Software" > "EasyApache 4."
  3. Select the "Customize" button in the top right corner.
  4. Go to the "Apache Modules" section and search for "HTTP2."
  5. Select the "HTTP2" module and click "Save and Build."
  6. Wait for the build process to complete and then restart Apache.
whm2.jpg


Note: HTTP/2 support requires Apache version 2.4.17 or later and OpenSSL version 1.0.2 or later. Ensure that these requirements are met before enabling HTTP/2 in EasyApache 4.

Some of the benefits of using HTTP/2 include:
  1. Faster page loads: HTTP2 allows for multiple requests to be made simultaneously over a single connection, reducing the latency associated with multiple round trips between the client and server.
  2. Server push: HTTP2 allows the server to push content to the client proactively, rather than waiting for the client to request it. This can reduce the number of round trips and improve the overall loading speed of a page.
  3. Binary format: HTTP2 uses a binary format for transmitting data, which is more efficient and less error-prone than the text-based format used by HTTP1.x.
  4. Header compression: HTTP2 introduces header compression, which reduces the size of the headers in each request, leading to a reduction in the amount of data that needs to be transmitted over the network.
  5. Prioritisation: HTTP2 allows the client to specify the priority of individual requests, allowing the server to prioritize and optimize the delivery of content to the client.
 
Back
Top