{"id":64018,"date":"2020-11-30T09:00:00","date_gmt":"2020-11-30T14:00:00","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/?p=64018"},"modified":"2024-06-27T11:58:42","modified_gmt":"2024-06-27T15:58:42","slug":"enable-http-2-apache","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/enable-http-2-apache\/","title":{"rendered":"How to Enable HTTP\/2 in Apache"},"content":{"rendered":"<p>cPanel administrators can log into WebHost Manager (WHM) and enable HTTP\/2 with EasyApache4 with a slider. Unmanaged server administrators don\u2019t have that pretty graphical interface for this task, excluding maybe those using Webmin, Vesta Control Panel, or another system administration interface.\u00a0<\/p>\n\n\n\n<p>Regardless, it is still a quick, straight-forward process to enable HTTP\/2 support on Apache web servers. Below we\u2019ll cover how to:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#enable\">How to Enable HTTP\/2 on Apache Servers<\/a><\/li>\n\n\n\n<li><a href=\"#verify\">How to Verify HTTP\/2 is Being Used<\/a><\/li>\n\n\n\n<li><a href=\"#optimize\">Optimize for HTTP\/2<\/a><\/li>\n\n\n\n<li><a href=\"#http3\">Stay Ahead with HTTP\/3<\/a><\/li>\n<\/ul>\n\n\n\n<p class=\"alert alert-warning\">This article does not apply to NGINX servers.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"enable\">How to Enable HTTP\/2 on an Apache Server<\/h2>\n\n\n\n<ol class=\"article_list wp-block-list\">\n<li><a href=\"https:\/\/www.inmotionhosting.com\/support\/server\/ssh\/how-to-login-ssh\/\">SSH into your server<\/a> as the root user.<\/li>\n\n\n\n<li>Ensure you have Apache installed (Ubuntu\/CentOS) and the version is at least 2.4. Otherwise, you\u2019ll need to upgrade Apache. <pre>apachectl -v<\/pre><\/li>\n\n\n\n<li>Ensure you have a valid SSL certificate installed on your server so you can use force secure (HTTPS) connections. If you need one, you can use the free Certbot Let\u2019s Encrypt SSL application on Ubuntu 18.04. <p class=\"alert alert-danger\">Unfortunately, <code>snapd<\/code> is not compatible with our Cloud Server Hosting at this time. Instead, install Certbot with <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/software\/install-pip-module\/\" target=\"_blank\" rel=\"noreferrer noopener\">PIP (Python Installs Packages)<\/a>.<\/p><\/li>\n\n\n\n<li>Enable the HTTP\/2 Apache module: <pre>a2enmod http2<\/pre><\/li>\n\n\n\n<li>Edit your Apache virtual host configuration file with your preferred text editor \u2013 e.g. Nano, Emacs, VIM, etc. If you have an SSL installed, the file should end with <code>le-ssl<\/code>. One of the following should work depending on your server environment: <pre>sudo nano \/etc\/apache2\/sites-enabled\/domainname-le-ssl.conf<\/pre><pre>sudo nano \/etc\/apache2\/sites-enabled\/000-default-le-ssl.conf<\/pre><\/li>\n\n\n\n<li>Add the following text in the configuration file directly underneath <code>&lt;VirtualHost *:443&gt;<\/code>: <pre>Protocols h2 http\/1.1<\/pre><\/li>\n\n\n\n<li>Save changes.<\/li>\n\n\n\n<li>Restart Apache: <pre>apachectl restart<\/pre><\/li>\n<\/ol>\n\n\n\n<p class=\"alert alert-info\">If you have issues configuring HTTP\/2 at any time, you can always request technical support from our Managed Hosting team.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"verify\">How to Verify HTTP\/2 is Being Used<\/h2>\n\n\n\n<p>Once you have it implemented and you have met all the requirements, how do you tell if the page is actually using <strong>HTTP\/2<\/strong>? There are few ways that you can tell by using browser developer tools or third party extensions. We will be showing a few examples using the Google Chrome browser, Mozilla FireFox browser, command line interface, and the KeyCDN HTTP\/2 test tool.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Google Chrome Browser \u2013 Using the Inspect Option<\/h3>\n\n\n\n<ol class=\"article_list wp-block-list\">\n<li>Open the website using <strong>HTTP\/2<\/strong> with your Google Chrome browser.<\/li>\n\n\n\n<li><a href=\"\/support\/wp-content\/uploads\/2017\/11\/use-http2_chrome-screen-inspect.png\" rel=\"lightbox-0\"><img decoding=\"async\" width=\"999\" height=\"476\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/use-http2_chrome-screen-inspect.png\" class=\"optimized-lcp-image\" alt=\"Select Inspect\" loading=\"eager\" fetchpriority=\"high\" sizes=\"(max-width: 768px) 100vw, 768px\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/use-http2_chrome-screen-inspect.png 999w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/use-http2_chrome-screen-inspect-300x143.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/use-http2_chrome-screen-inspect-768x366.png 768w\"><\/a><br><div style=\"clear: both;\">\u00a0<\/div><br><p> Right-click on a page and then select <b>Inspect<\/b>.<\/p><br><div style=\"clear: both;\">\u00a0<\/div><br><\/li>\n\n\n\n<li><a href=\"\/support\/wp-content\/uploads\/2017\/11\/use-http2_click-network.png\" rel=\"lightbox-0\"><img decoding=\"async\" width=\"100\" align=\"right\" class=\"std_ss\" style=\"float: right; margin: 0px 0px 15px 15px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/use-http2_click-network.png\" alt=\"Click on Network\"><\/a>A new window will open. In the menu, click on <b>Network<\/b>.<br><div style=\"clear: both;\">\u00a0<\/div><br><\/li>\n\n\n\n<li><a href=\"\/support\/wp-content\/uploads\/2017\/11\/use-http2_select-protocol-for-column.png\" rel=\"lightbox-0\"><img decoding=\"async\" width=\"100\" align=\"right\" class=\"std_ss\" style=\"float: right; margin: 0px 0px 15px 15px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/use-http2_select-protocol-for-column.png\" alt=\"Select Protocol\"><\/a> You may have to wait a few seconds after clicking on <b>Network<\/b> for it to process. Once it finishes you\u2019ll see several columns starting with <b>Name<\/b>. Right-click on any of the columns that appear. You will see a list of options appear. Make sure that <strong>Protocol<\/strong> is checked.<br><div style=\"clear: both;\">\u00a0<\/div><br><\/li>\n\n\n\n<li><a href=\"\/support\/wp-content\/uploads\/2017\/11\/use-http2_confirm-http2-usage.png\" rel=\"lightbox-0\"><img decoding=\"async\" width=\"100\" align=\"right\" class=\"std_ss\" style=\"float: right; margin: 0px 0px 15px 15px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/use-http2_confirm-http2-usage.png\" alt=\"Look for protocol being used\"><\/a> When the <strong>Protocol<\/strong> column appears you should be able to see if <strong>HTTP\/2<\/strong> is being used. You may need to inspect a different part of the page to see the <strong>HTTP\/2<\/strong> requests.<br><div style=\"clear: both;\">\u00a0<\/div><br><\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Mozilla Firefox Browser \u2013 Using the HTTP\/2 Indicator Add-on<\/h3>\n\n\n\n<ol class=\"article_list wp-block-list\">\n<li><a href=\"\/support\/wp-content\/uploads\/2017\/11\/use-http2_http2-indicator-plugin.png\" rel=\"lightbox-0\"><img decoding=\"async\" width=\"100\" align=\"right\" class=\"std_ss\" style=\"float: right; margin: 0px 0px 15px 15px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/use-http2_http2-indicator-plugin.png\" alt=\"Install Add-on\"><\/a> First, you will need to load the <a href=\"https:\/\/addons.mozilla.org\/en-US\/firefox\/addon\/http2-indicator\/\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>HTTP\/2<\/strong> Indicator add-on<\/a>.<br><div style=\"clear: both;\">\u00a0<\/div><br><\/li>\n\n\n\n<li>Once it\u2019s loaded, you can go to the page that you want check for using <strong>HTTP\/2<\/strong>.<\/li>\n\n\n\n<li><a href=\"\/support\/wp-content\/uploads\/2017\/11\/use-http2_firefox-http2-active.png\" rel=\"lightbox-0\"><img decoding=\"async\" width=\"100\" align=\"right\" class=\"std_ss\" style=\"float: right; margin: 0px 0px 15px 15px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/use-http2_firefox-http2-active.png\" alt=\"check for lighting bolt icon to confirm HTTP\/2 usage\"><\/a> If the page is using HTTP2, you will see a lightning bolt graphic in the address bar. You can also hover over it for confirmation in text.<br><div style=\"clear: both;\">\u00a0<\/div><br><\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Verify HTTP\/2 using CLI<\/h3>\n\n\n\n<p>Linux terminal users can use the following command to check if their website is using HTTP\/2:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">curl --http2 domain.com -I<\/pre>\n\n\n\n<p>The response should start with <code>HTTP\/2 200<\/code>.<\/p>\n\n\n\n<p class=\"alert alert-warning\">Using <code>localhost<\/code> instead of the domain or server hostname while logged into SSH may not work.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">KeyCDN HTTP\/2 Test Tool<\/h3>\n\n\n\n<p>One of the fastest and easiest ways to tell if your site has HTTP\/2 enabled is to use the <a href=\"https:\/\/tools.keycdn.com\/http2-test\" target=\"_blank\" rel=\"noreferrer noopener\">KeyCDN HTTP\/2 Test Tool<\/a>. All you need to do is submit your website URL into form to verify your status.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"778\" height=\"363\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/11\/http2-keycdn.png\" alt=\"KeyCDN HTTP\/2 test result\" class=\"wp-image-64019\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/11\/http2-keycdn.png 778w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/11\/http2-keycdn-300x140.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/11\/http2-keycdn-768x358.png 768w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"optimize\">Optimize for HTTP\/2<\/h2>\n\n\n\n<p>The main issue here is modifying your site to remove optimization techniques that you may have previously used. If you use the following with your website, then you may need to make some changes in order to make sure that you\u2019re taking advantage of using <strong>HTTP\/2<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Inline CSS and JS<\/strong> \u2013 Since there is no overhead for the request for these files, it no longer needs to be inline with the rest of the page code.<\/li>\n\n\n\n<li><strong>Image Spriting<\/strong> \u2013 Combining several images into a larger image was know as \u201cspriting.\u201d The implementation of <strong>HTTP\/2<\/strong> eliminates the need to do this.<\/li>\n\n\n\n<li><strong>Concatenating CSS and JS files<\/strong> \u2013 This was another technique used to reduce the number requests that can be removed with the implementation of <strong>HTTP\/2<\/strong>.<\/li>\n\n\n\n<li><strong>Domain Sharding<\/strong> \u2013 This is the practice of using multiple CDN domains to serve static website files. <strong>HTTP\/2<\/strong> removes the need for parallel connections (to the multiple CDN domains) using a single connection for parallel downloads.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"http3\">Stay Ahead with HTTP\/3<\/h2>\n\n\n\n<p>If you want to stay ahead on website performance, look out for the <a href=\"https:\/\/www.inmotionhosting.com\/blog\/what-is-http-3\/\">HTTP\/3 protocol<\/a>, which is supported by Firefox, Chrome, Edge, and Safari. However, Safari is the only web browser with HTTP\/3 support enabled by default. Meanwhile, native NGINX HTTP\/3 support is expected to come in the 1.19 release.<\/p>\n\n\n\n<p>Looking for other ways to improve website performance? Learn more about <a href=\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/secure-cloud-server-hosting\/\">how to secure your Linux cloud server<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>cPanel administrators can log into WebHost Manager (WHM) and enable HTTP\/2 with EasyApache4 with a slider. Unmanaged server administrators don\u2019t have that pretty graphical interface for this task, excluding maybe those using Webmin, Vesta Control Panel, or another system administration interface.&nbsp; Regardless, it is still a quick, straight-forward process to enable HTTP\/2 support on Apache<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/enable-http-2-apache\/\"> Read More ><\/a><\/p>\n","protected":false},"author":57014,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4355],"tags":[],"class_list":["post-64018","post","type-post","status-publish","format-standard","hentry","category-apache"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Enable HTTP\/2 on an Apache Web Server<\/title>\n<meta name=\"description\" content=\"To help improve website security and performance, learn how to enable HTTP\/2 in Apache web server and test if it&#039;s working.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/enable-http-2-apache\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Enable HTTP\/2 on an Apache Web Server\" \/>\n<meta property=\"og:description\" content=\"To help improve website security and performance, learn how to enable HTTP\/2 in Apache web server and test if it&#039;s working.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/enable-http-2-apache\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-11-30T14:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-06-27T15:58:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/11\/canva-enable-http2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/enable-http-2-apache\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/enable-http-2-apache\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\"},\"headline\":\"How to Enable HTTP\/2 in Apache\",\"datePublished\":\"2020-11-30T14:00:00+00:00\",\"dateModified\":\"2024-06-27T15:58:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/enable-http-2-apache\/\"},\"wordCount\":850,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/enable-http-2-apache\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/use-http2_chrome-screen-inspect.png\",\"articleSection\":[\"Apache\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/enable-http-2-apache\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/enable-http-2-apache\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/enable-http-2-apache\/\",\"name\":\"How to Enable HTTP\/2 on an Apache Web Server\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/enable-http-2-apache\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/enable-http-2-apache\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/use-http2_chrome-screen-inspect.png\",\"datePublished\":\"2020-11-30T14:00:00+00:00\",\"dateModified\":\"2024-06-27T15:58:42+00:00\",\"description\":\"To help improve website security and performance, learn how to enable HTTP\/2 in Apache web server and test if it's working.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/enable-http-2-apache\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/enable-http-2-apache\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/enable-http-2-apache\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/use-http2_chrome-screen-inspect.png\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/use-http2_chrome-screen-inspect.png\",\"width\":999,\"height\":476,\"caption\":\"Select Inspect\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/enable-http-2-apache\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Enable HTTP\/2 in Apache\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\",\"name\":\"InMotion Hosting Contributor\",\"description\":\"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!\",\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/inmotion-hosting\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Enable HTTP\/2 on an Apache Web Server","description":"To help improve website security and performance, learn how to enable HTTP\/2 in Apache web server and test if it's working.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/enable-http-2-apache\/","og_locale":"en_US","og_type":"article","og_title":"How to Enable HTTP\/2 on an Apache Web Server","og_description":"To help improve website security and performance, learn how to enable HTTP\/2 in Apache web server and test if it's working.","og_url":"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/enable-http-2-apache\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2020-11-30T14:00:00+00:00","article_modified_time":"2024-06-27T15:58:42+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/11\/canva-enable-http2.png","type":"image\/png"}],"author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/enable-http-2-apache\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/enable-http-2-apache\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644"},"headline":"How to Enable HTTP\/2 in Apache","datePublished":"2020-11-30T14:00:00+00:00","dateModified":"2024-06-27T15:58:42+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/enable-http-2-apache\/"},"wordCount":850,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/enable-http-2-apache\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/use-http2_chrome-screen-inspect.png","articleSection":["Apache"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/server\/apache\/enable-http-2-apache\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/enable-http-2-apache\/","url":"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/enable-http-2-apache\/","name":"How to Enable HTTP\/2 on an Apache Web Server","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/enable-http-2-apache\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/enable-http-2-apache\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/use-http2_chrome-screen-inspect.png","datePublished":"2020-11-30T14:00:00+00:00","dateModified":"2024-06-27T15:58:42+00:00","description":"To help improve website security and performance, learn how to enable HTTP\/2 in Apache web server and test if it's working.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/enable-http-2-apache\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/server\/apache\/enable-http-2-apache\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/enable-http-2-apache\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/use-http2_chrome-screen-inspect.png","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/use-http2_chrome-screen-inspect.png","width":999,"height":476,"caption":"Select Inspect"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/enable-http-2-apache\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to Enable HTTP\/2 in Apache"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644","name":"InMotion Hosting Contributor","description":"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!","sameAs":["https:\/\/www.linkedin.com\/company\/inmotion-hosting\/","https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":{"id":4355,"name":"Apache","slug":"apache","link":"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/"},"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/64018","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/57014"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=64018"}],"version-history":[{"count":15,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/64018\/revisions"}],"predecessor-version":[{"id":128276,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/64018\/revisions\/128276"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=64018"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=64018"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=64018"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}