Which HTTP version is your connection using, and how do you move up?

Last updated 8 November 2026

Every time your browser loads a page it speaks one of three versions of HTTP. This page shows which one you just used, explains what the difference means without the marketing, and walks through moving a website off the oldest version.

Checking your connection…

The lookup shows the HTTP version a site uses, whether it announces HTTP/3, and whether it supports HTTPS at all.

The three versions in plain terms

VersionWhat changedGood to know
HTTP/1.1 (1997)One request at a time on each connection. Browsers get around that by opening several connections.Still used by roughly one home page in five (HTTP Archive, 2024).
HTTP/2 (2015)Many requests share one connection (multiplexing), and headers are compressed.Browsers only use it over HTTPS.
HTTP/3 (2022)Runs over QUIC on UDP instead of TCP. Copes better with lost packets and sets up connections faster.Needs UDP port 443 to be open. Browsers learn a site offers it from an Alt-Svc header, so the first visit usually still uses HTTP/2.

Is it worth moving?

Usually yes for HTTP/2, and HTTP/3 is a free extra if your host or CDN offers it. Neither is magic, so expect improvements, not miracles.

Who is stuck on HTTP/1.1? Mostly smaller sites without a CDN. The Web Almanac found under 4% of requests served by CDNs used HTTP/1.1, against up to 29% for requests that did not go through one.

Why a site is still on HTTP/1.1

Work down this list. The first match is usually the answer.

  1. No HTTPS. Browsers only speak HTTP/2 over an encrypted connection. A site served over plain http:// stays on HTTP/1.1. This is the most common cause and the easiest to rule out.
  2. The server module is missing or off. Apache needs its mod_http2 module. Without it the server simply never offers HTTP/2, even though everything else works and nothing shows an error. It is a surprisingly common cause, and the fix is installing and enabling the module.
  3. Apache is running in "prefork" mode. Prefork is often chosen because of PHP's older mod_php setup. Apache's own documentation says that under prefork HTTP/2 has severe restrictions: it handles one request at a time on each connection, so slow requests stall the rest.
  4. Old or weak TLS settings. HTTP/2 needs a TLS library with ALPN support (OpenSSL 1.0.2 or newer) and a sound cipher suite. A poor cipher setting makes browsers fall back to HTTP/1.1.
  5. nginx built or configured without it. It needs the HTTP/2 module and, from version 1.25.1, the line http2 on;.
  6. No CDN in front. A CDN or proxy handles HTTP/2 and HTTP/3 for visitors whatever your own server does.
  7. A DNS-only record. With Cloudflare, a "grey cloud" (DNS-only) record sends visitors straight to your server, bypassing the proxy. Then your own server has to offer HTTP/2 itself.
  8. Shared hosting. On shared hosting your host decides, and you cannot change it yourself.
  9. Something on the visitor's side. A work or school proxy, or security software that inspects HTTPS, can force HTTP/1.1 even when the site offers more.

The two-hop catch with Cloudflare and other proxies

When a site sits behind a proxy or CDN, there are two separate connections: browser to the proxy, and proxy to your server. They can use different versions. Almost no guide explains this.

How to move up, by setup

My site is behind Cloudflare
  1. Make sure the record is proxied (orange cloud) in the Cloudflare DNS settings. A grey-cloud record bypasses everything below.
  2. HTTP/2 for visitors is on by default.
  3. For HTTP/3, open the dashboard, choose your site, then Speed > Settings > Protocol Optimization and switch HTTP/3 on. It is available on every plan and needs the Cloudflare certificate to be active on the site.
  4. There is nothing to open on your own server, because HTTP/3 only covers the browser-to-Cloudflare hop. Visitors on networks that block UDP port 443 simply fall back to HTTP/2.
  5. Optionally, make your own server offer HTTP/2 too (see the Apache and nginx sections). Cloudflare then uses it on the second hop.
I'm on shared or cPanel hosting
  1. Check that HTTPS is working for your domain first (most hosts issue a free certificate automatically). Without it nothing else matters.
  2. Ask your host whether HTTP/2 is enabled for your account. On most shared hosts it is the host's setting, and you cannot change it yourself.
  3. If it is not available, the simplest fix is to put Cloudflare in front (the free plan is enough). Visitors then get HTTP/2, and HTTP/3 if you switch it on, whatever your host does.
  4. If you manage the server yourself with WHM (root access), enable the HTTP/2 module (mod_http2) in EasyApache 4 and use the event MPM rather than prefork. Check cPanel's documentation for your version before changing the Apache build.
I run Apache myself
  1. Load the module. On Debian or Ubuntu: sudo a2enmod http2. Elsewhere, add LoadModule http2_module modules/mod_http2.so.
  2. Tell Apache to offer it, with HTTP/2 first:
    Protocols h2 http/1.1
    Put it in the server configuration or inside a specific <VirtualHost>.
  3. The site must be served over HTTPS, and your TLS library must support ALPN (OpenSSL 1.0.2 or newer). Use a modern SSLCipherSuite.
  4. Use the event MPM. If you use mod_php you are on prefork, so switch PHP to PHP-FPM first, then to event.
  5. Restart Apache and check it worked (below).
I run nginx myself
  1. Version 1.25.1 or newer:
    server {
        listen 443 ssl;
        http2 on;
        ssl_certificate     /path/to/fullchain.pem;
        ssl_certificate_key /path/to/privkey.pem;
    }
  2. On older versions the directive goes on the listen line: listen 443 ssl http2;.
  3. nginx must be built with the HTTP/2 module (--with-http_v2_module, standard in distribution packages) and linked to a TLS library with ALPN.
  4. For HTTP/3 you need nginx 1.25.0 or newer built with QUIC support, TLS 1.3, a listen … quic line, an Alt-Svc response header that announces it, and UDP port 443 open in the firewall. See nginx's QUIC documentation for the exact lines for your build.
Another CDN, a tunnel, or I'm not sure
  1. Most CDNs have HTTP/2 and HTTP/3 switches in their dashboard. Turn them on and test.
  2. Tunnels and some reverse proxies talk to your server over HTTP/1.1 by default. That affects only the second hop. Visitors still get what the proxy offers.
  3. Not sure what you have? Use the box at the top of this page to look up your site. The result also says whether HTTPS works and whether HTTP/3 is announced, which narrows the cause quickly.

Check that it worked

Common mistakes

Sources