Enable HTTP/2 in Cpanel Server

HTTP/2 only work with mod_worker or mod_event. if you use other mpm modulesm you need to swith to worker or event.

To install http2, login to WHM as user root. Go to

WHM > EasyApache 4 >  Currently Installed Packages > Customize 

Now under Apache Modules, search for “http2”. Use the selector on right side to install it. Click “Next” until it it reach provision page. Click “Provision”.

Cpanel enable http2

Configuration for http2 located at

[root@ip-172-31-47-93 ~]# cat /etc/apache2/conf.d/http2.conf 

    LogLevel http2:info
    Protocols h2 h2c http/1.1

[root@ip-172-31-47-93 ~]# 

You can verify HTTP2 work for your site at

https://tools.keycdn.com/http2-test

Most browsers only support HTTP2 over SSL, so make sure you have SSL (https://) enabled.

See Cpanel Server

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *