Hi i have trouble to enable HTTP2 on my Virtualmin website.
I have use the a2enmod http2 command and add the protocol to my apache setup. But https://tools.keycdn.com/http2-test still say that may website is not HTTP/2.0 supported.
I dont know whats wrong. What should i do?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hey there,
Can you share the exact steps/commands that you’ve executed in order to enable http2 so we can check them together?
Normally you will enable HTTP/2 using the a2enmod http2 command and then a few more steps will be required.
a2dismod mpm_prefork
a2enmod mpm_eventProtocols h2 http/1.1 inside the <VirtualHost> section.service apache2 restart.If you’ve completed these steps and are still facing issues, it might be related to your SSL/TLS configuration. Make sure you have valid SSL/TLS certificates and the proper configuration for them.
For more information on configuring Apache and HTTPS on DigitalOcean, please refer to this guide: How To Secure Apache with Let’s Encrypt on Ubuntu 20.04.
Hope that this helps!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.
