HTTP/2 (h2) is now a norm. It's here for almost 5 years and you are experiencing it on a daily basis. Open a modern browser (e.g., Edge, Safari, Firefox, Chrome) and point it at a major website like Facebook, Instagram, or Twitter, and voila! you are using h2.

You maybe want your next major website to be running over HTTP/2?

There are two major steps to getting an h2 server up and running:

  • Get and install a web server that speaks HTTP/2
  • Get and install a TLS certificate so the browser will speak HTTP/2 with the server

Get and Install a Certificate

Working with certificates is a subject that merits a book of its own. You have three methods: using online resources, creating a self-signed cert on your own, and obtaining a cert from a Certificate Authority (CA) - Let’s Encrypt is free option.

Let’s Encrypt is a new player on the Certificate Authority scene, having gone live with its public beta in the fall of 2015. Its goal is to make TLS certificates available in an easy, automated, and  free to anyone and everyone.

Get and Install Your First HTTP/2 Server

There are numerous choices for obtaining and running a web server that speaks HTTP/2. Apache, Nginx, IIS, Jetty, H2O, Caddy, Traffic Server, HAProxy all can speak HTTP/2. Note, that some of these are proxy servers like HAProxy.

Choose a Client or Browser

Finally, the reward for the hard work. Choose a modern browser and point it at your new server. If you met all of the prerequisites your content should be served over HTTP/2.