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!
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.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.