{"id":1125,"date":"2020-06-29T04:41:58","date_gmt":"2020-06-29T04:41:58","guid":{"rendered":"http:\/\/ubiq.co\/tech-blog\/?p=1125"},"modified":"2025-08-18T04:30:34","modified_gmt":"2025-08-18T04:30:34","slug":"apache-load-balancer-configuration","status":"publish","type":"post","link":"https:\/\/ubiq.co\/tech-blog\/apache-load-balancer-configuration\/","title":{"rendered":"How to Configure Apache Load Balancer"},"content":{"rendered":"<p>Apache load balancer helps your websites handle large traffic loads without any performance issues. Here&#8217;s how to configure Apache Load balancer for your website.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/ubiq.co\/tech-blog\/apache-load-balancer-configuration\/#Apache_Load_Balancer_Configuration\" >Apache Load Balancer Configuration<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/ubiq.co\/tech-blog\/apache-load-balancer-configuration\/#1_Install_Required_Apache_modules\" >1. Install Required Apache modules<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/ubiq.co\/tech-blog\/apache-load-balancer-configuration\/#2_Restart_Apache_Server\" >2. Restart Apache Server<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/ubiq.co\/tech-blog\/apache-load-balancer-configuration\/#3_Setup_backend_servers\" >3. Setup backend servers<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/ubiq.co\/tech-blog\/apache-load-balancer-configuration\/#4_Configure_Apache_Load_Balancer\" >4. Configure Apache Load Balancer<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/ubiq.co\/tech-blog\/apache-load-balancer-configuration\/#5_Restart_Apache_Server\" >5. Restart Apache Server<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Apache_Load_Balancer_Configuration\"><\/span>Apache Load Balancer Configuration<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Here are the steps to configure Apache load balancer for your website, on Ubuntu\/Debian systems.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"1_Install_Required_Apache_modules\"><\/span>1. Install Required Apache modules<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>We require 4 Apache modules to configure Apache load balancer &#8211; <em>mod_proxy<\/em>, <em>mod_proxy_http<\/em>, <em>mod_proxy_balancer<\/em>, <em>mod_lbmethod_byrequests<\/em><\/p>\n<ul>\n<li><em>mod_proxy<\/em> is the main proxy module that redirects requests and allows Apache to act as gateway to backend servers<\/li>\n<li><em>mod_proxy_http<\/em> allows support for proxying HTTP requests<\/li>\n<li><em>mod_proxy_balancer<\/em> and <em>mod_lbmethod_byrequests<\/em> add load balancing capabilities to Apache web server.<\/li>\n<\/ul>\n<p>Open terminal and run the following commands to install pre-requisite Apache modules.<\/p>\n<pre>$ sudo a2enmod proxy\n$ sudo a2enmod proxy_http\n$ sudo a2enmod proxy_balancer\n$ sudo a2enmod lbmethod_byrequests\n<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"2_Restart_Apache_Server\"><\/span>2. Restart Apache Server<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Restart Apache Server to apply changes<\/p>\n<pre>$ sudo service apache2 restart\n<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"3_Setup_backend_servers\"><\/span>3. Setup backend servers<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>To configure Apache Load Balancer, we will install flask &amp; setup 2 servers to run on port 8080 and port 8081 as a backend server.<\/p>\n<pre>$ sudo apt-get update\n$ sudo apt-get -y install python3-pip\n$ sudo pip3 install flask<\/pre>\n<p>Flask comes with a readymade ~\/<em>backend.py<\/em> file that returns &#8220;Hello World&#8221; on requesting home page.<\/p>\n<pre>from flask import Flask\napp = Flask(__name__)\n\n@app.route('\/')\ndef home():\n    return 'Hello world!'\n<\/pre>\n<p>We will create a copy of it for our second server.<\/p>\n<p>$ sudo cp ~\/backend.py ~\/backend1.py<\/p>\n<p>Open backend1.py and change the &#8220;Hello World&#8221; message in last line to &#8220;Hello World 2&#8221;<\/p>\n<pre>from flask import Flask\napp = Flask(__name__)\n\n@app.route('\/')\ndef home():\n    return '<strong>Hello world 2!<\/strong>'<\/pre>\n<p>We will run the first flask server<\/p>\n<pre>$ FLASK_APP=~\/backend.py flask run --port=8080 &gt;\/dev\/null 2&gt;&amp;1 &amp;<\/pre>\n<p>You can test this server by running <em>curl<\/em> command<\/p>\n<pre>$ curl http:\/\/127.0.0.1:8080\/<\/pre>\n<p>You will see the output as <strong>Hello World!<\/strong><\/p>\n<p>We will run the second flask server<\/p>\n<pre>$ FLASK_APP=~\/backend1.py flask run --port=8081 &gt;\/dev\/null 2&gt;&amp;1 &amp;<\/pre>\n<p>You can test this server by running <em>curl<\/em> command<\/p>\n<pre>$ curl http:\/\/127.0.0.1:8081\/<\/pre>\n<p>You will see the output as <strong>Hello World 2!<br \/>\n<\/strong><\/p>\n<p>Now we have 2 backend servers ready to handle the load. We will be distributing load between these 2 servers.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"4_Configure_Apache_Load_Balancer\"><\/span>4. Configure Apache Load Balancer<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>We need to modify Apache&#8217;s default configuration file to configure Apache load balancer. Open Apache configuration in text editor<\/p>\n<pre>$ sudo vi \/etc\/apache2\/sites-available\/000-default.conf\n<\/pre>\n<p>Add the following lines to <em>VirtualHost<\/em> tag in Apache configuration file.<\/p>\n<pre>     &lt;Proxy balancer:\/\/mycluster&gt;\n       BalancerMember http:\/\/127.0.0.1:8080\n       BalancerMember http:\/\/127.0.0.1:8081\n      &lt;\/Proxy&gt;\n      ProxyPreserveHost On\n      ProxyPass \/ balancer:\/\/mycluster\/\n      ProxyPassReverse \/ balancer:\/\/mycluster\/<\/pre>\n<p>Let&#8217;s look at the 3 directives.<\/p>\n<ul>\n<li><em>ProxyPreserveHost<\/em> causes Apache to preserve original host header and pass it to back-end servers.<\/li>\n<li><em>ProxyPass<\/em> is the main proxy directive which states that everything under root (\/) should be directed to back-end cluster ( we have named it <em>mycluster<\/em>) of servers. If Apache gets request for \/example, then it will send the request to <em>http:\/\/your_backend_server\/example<\/em><\/li>\n<li><em>ProxyPassReverse<\/em> tells Apache to modify response header in the response received from back-end server. This is useful in case the back-end server returns a location redirect response, then the client will be redirected to Apache proxy server, instead of back-end server.<\/li>\n<li>We list our backend servers in <em>Proxy <\/em>tag named <em>balancer:\/\/mycluster<\/em> . You can change it to anything else. Inside this proxy tag, we list each backend server as <em>BalancerMember. <\/em>So your cluster&#8217;s <em>Proxy<\/em> tag can have one or more <em>BalancerMember<\/em><\/li>\n<\/ul>\n<pre>&lt;VirtualHost *:80&gt;\n...\n   &lt;Proxy balancer:\/\/mycluster&gt;\n      BalancerMember http:\/\/127.0.0.1:8080\n      BalancerMember http:\/\/127.0.0.1:8081\n    &lt;\/Proxy&gt;\n    ProxyPreserveHost On\n    ProxyPass \/ balancer:\/\/mycluster\/\n    ProxyPassReverse \/ balancer:\/\/mycluster\/\n... \n&lt;\/VirtualHost&gt;<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"5_Restart_Apache_Server\"><\/span>5. Restart Apache Server<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Restart Apache Server to apply changes<\/p>\n<pre>$ sudo service apache2 restart\n<\/pre>\n<p>Hopefully, the above Apache load balancer configuration will help you setup Apache load balancer for your website.<\/p>\n<p><a href=\"http:\/\/ubiq.co\/\">Ubiq<\/a>\u00a0makes it easy to visualize data in minutes, and monitor in real-time dashboards.\u00a0<a href=\"http:\/\/ubiq.co\/accounts\/register\">Try it<\/a>\u00a0Today!<\/p>\n<p>Also read:<br \/>\n<a href=\"https:\/\/ubiq.co\/tech-blog\/set-access-control-allow-origin-cors-headers-apache\/\">How to Set CORS Headers in Apache Server<\/a><br \/>\n<a href=\"https:\/\/ubiq.co\/tech-blog\/how-to-redirect-all-pages-to-new-domain\/\">How to Redirect All Pages to New Domain in Apache<\/a><br \/>\n<a href=\"https:\/\/ubiq.co\/tech-blog\/redirect-page-another-domain-htaccess-file\/\">How to Redirect Page to Another Domain Using .htaccess<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Apache load balancer configuration will help your website handle more loads. Here&#8217;s how to configure Apache load balancer for your website.<\/p>\n","protected":false},"author":1,"featured_media":1133,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3],"tags":[86],"class_list":["post-1125","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-apache","tag-load-balancer"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Configure Apache Load Balancer - Ubiq BI<\/title>\n<meta name=\"description\" content=\"Apache load balancer configuration will help your website handle more loads. Here&#039;s how to configure Apache load balancer for your website.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ubiq.co\/tech-blog\/apache-load-balancer-configuration\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Configure Apache Load Balancer - Ubiq BI\" \/>\n<meta property=\"og:description\" content=\"Apache load balancer configuration will help your website handle more loads. Here&#039;s how to configure Apache load balancer for your website.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ubiq.co\/tech-blog\/apache-load-balancer-configuration\/\" \/>\n<meta property=\"og:site_name\" content=\"Ubiq BI\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ubiqbi\" \/>\n<meta property=\"article:published_time\" content=\"2020-06-29T04:41:58+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-18T04:30:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ubiq.co\/tech-blog\/wp-content\/uploads\/2020\/06\/apache-load-balancer-configuration.png\" \/>\n\t<meta property=\"og:image:width\" content=\"736\" \/>\n\t<meta property=\"og:image:height\" content=\"385\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Sreeram Sreenivasan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@UbiqBI\" \/>\n<meta name=\"twitter:site\" content=\"@UbiqBI\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sreeram Sreenivasan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/ubiq.co\/tech-blog\/apache-load-balancer-configuration\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/ubiq.co\/tech-blog\/apache-load-balancer-configuration\/\"},\"author\":{\"name\":\"Sreeram Sreenivasan\",\"@id\":\"https:\/\/ubiq.co\/tech-blog\/#\/schema\/person\/db98d49a766a3a111d8510935ab90abc\"},\"headline\":\"How to Configure Apache Load Balancer\",\"datePublished\":\"2020-06-29T04:41:58+00:00\",\"dateModified\":\"2025-08-18T04:30:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/ubiq.co\/tech-blog\/apache-load-balancer-configuration\/\"},\"wordCount\":528,\"image\":{\"@id\":\"https:\/\/ubiq.co\/tech-blog\/apache-load-balancer-configuration\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/ubiq.co\/tech-blog\/wp-content\/uploads\/2020\/06\/apache-load-balancer-configuration.png?fit=736%2C385&ssl=1\",\"keywords\":[\"load balancer\"],\"articleSection\":[\"Apache\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ubiq.co\/tech-blog\/apache-load-balancer-configuration\/\",\"url\":\"https:\/\/ubiq.co\/tech-blog\/apache-load-balancer-configuration\/\",\"name\":\"How to Configure Apache Load Balancer - Ubiq BI\",\"isPartOf\":{\"@id\":\"https:\/\/ubiq.co\/tech-blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/ubiq.co\/tech-blog\/apache-load-balancer-configuration\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/ubiq.co\/tech-blog\/apache-load-balancer-configuration\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/ubiq.co\/tech-blog\/wp-content\/uploads\/2020\/06\/apache-load-balancer-configuration.png?fit=736%2C385&ssl=1\",\"datePublished\":\"2020-06-29T04:41:58+00:00\",\"dateModified\":\"2025-08-18T04:30:34+00:00\",\"author\":{\"@id\":\"https:\/\/ubiq.co\/tech-blog\/#\/schema\/person\/db98d49a766a3a111d8510935ab90abc\"},\"description\":\"Apache load balancer configuration will help your website handle more loads. Here's how to configure Apache load balancer for your website.\",\"breadcrumb\":{\"@id\":\"https:\/\/ubiq.co\/tech-blog\/apache-load-balancer-configuration\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ubiq.co\/tech-blog\/apache-load-balancer-configuration\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/ubiq.co\/tech-blog\/apache-load-balancer-configuration\/#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/ubiq.co\/tech-blog\/wp-content\/uploads\/2020\/06\/apache-load-balancer-configuration.png?fit=736%2C385&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/ubiq.co\/tech-blog\/wp-content\/uploads\/2020\/06\/apache-load-balancer-configuration.png?fit=736%2C385&ssl=1\",\"width\":736,\"height\":385,\"caption\":\"configure apache load balancer\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ubiq.co\/tech-blog\/apache-load-balancer-configuration\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/ubiq.co\/tech-blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Configure Apache Load Balancer\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ubiq.co\/tech-blog\/#website\",\"url\":\"https:\/\/ubiq.co\/tech-blog\/\",\"name\":\"Ubiq BI\",\"description\":\"Build dashboards &amp; reports in minutes\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/ubiq.co\/tech-blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/ubiq.co\/tech-blog\/#\/schema\/person\/db98d49a766a3a111d8510935ab90abc\",\"name\":\"Sreeram Sreenivasan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/4b3127ed2d4bb8efb3fa0bbb52cf2efd4d0156c97fc05a503537c883e8279947?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4b3127ed2d4bb8efb3fa0bbb52cf2efd4d0156c97fc05a503537c883e8279947?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4b3127ed2d4bb8efb3fa0bbb52cf2efd4d0156c97fc05a503537c883e8279947?s=96&d=mm&r=g\",\"caption\":\"Sreeram Sreenivasan\"},\"description\":\"Sreeram Sreenivasan is the Founder of Ubiq. He has helped many Fortune 500 companies in the areas of BI &amp; software development.\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/sreeram-sreenivasan\/\"],\"url\":\"https:\/\/ubiq.co\/tech-blog\/author\/wordpress\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Configure Apache Load Balancer - Ubiq BI","description":"Apache load balancer configuration will help your website handle more loads. Here's how to configure Apache load balancer for your website.","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:\/\/ubiq.co\/tech-blog\/apache-load-balancer-configuration\/","og_locale":"en_US","og_type":"article","og_title":"How to Configure Apache Load Balancer - Ubiq BI","og_description":"Apache load balancer configuration will help your website handle more loads. Here's how to configure Apache load balancer for your website.","og_url":"https:\/\/ubiq.co\/tech-blog\/apache-load-balancer-configuration\/","og_site_name":"Ubiq BI","article_publisher":"https:\/\/www.facebook.com\/ubiqbi","article_published_time":"2020-06-29T04:41:58+00:00","article_modified_time":"2025-08-18T04:30:34+00:00","og_image":[{"width":736,"height":385,"url":"https:\/\/ubiq.co\/tech-blog\/wp-content\/uploads\/2020\/06\/apache-load-balancer-configuration.png","type":"image\/png"}],"author":"Sreeram Sreenivasan","twitter_card":"summary_large_image","twitter_creator":"@UbiqBI","twitter_site":"@UbiqBI","twitter_misc":{"Written by":"Sreeram Sreenivasan","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/ubiq.co\/tech-blog\/apache-load-balancer-configuration\/#article","isPartOf":{"@id":"https:\/\/ubiq.co\/tech-blog\/apache-load-balancer-configuration\/"},"author":{"name":"Sreeram Sreenivasan","@id":"https:\/\/ubiq.co\/tech-blog\/#\/schema\/person\/db98d49a766a3a111d8510935ab90abc"},"headline":"How to Configure Apache Load Balancer","datePublished":"2020-06-29T04:41:58+00:00","dateModified":"2025-08-18T04:30:34+00:00","mainEntityOfPage":{"@id":"https:\/\/ubiq.co\/tech-blog\/apache-load-balancer-configuration\/"},"wordCount":528,"image":{"@id":"https:\/\/ubiq.co\/tech-blog\/apache-load-balancer-configuration\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/ubiq.co\/tech-blog\/wp-content\/uploads\/2020\/06\/apache-load-balancer-configuration.png?fit=736%2C385&ssl=1","keywords":["load balancer"],"articleSection":["Apache"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/ubiq.co\/tech-blog\/apache-load-balancer-configuration\/","url":"https:\/\/ubiq.co\/tech-blog\/apache-load-balancer-configuration\/","name":"How to Configure Apache Load Balancer - Ubiq BI","isPartOf":{"@id":"https:\/\/ubiq.co\/tech-blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/ubiq.co\/tech-blog\/apache-load-balancer-configuration\/#primaryimage"},"image":{"@id":"https:\/\/ubiq.co\/tech-blog\/apache-load-balancer-configuration\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/ubiq.co\/tech-blog\/wp-content\/uploads\/2020\/06\/apache-load-balancer-configuration.png?fit=736%2C385&ssl=1","datePublished":"2020-06-29T04:41:58+00:00","dateModified":"2025-08-18T04:30:34+00:00","author":{"@id":"https:\/\/ubiq.co\/tech-blog\/#\/schema\/person\/db98d49a766a3a111d8510935ab90abc"},"description":"Apache load balancer configuration will help your website handle more loads. Here's how to configure Apache load balancer for your website.","breadcrumb":{"@id":"https:\/\/ubiq.co\/tech-blog\/apache-load-balancer-configuration\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ubiq.co\/tech-blog\/apache-load-balancer-configuration\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ubiq.co\/tech-blog\/apache-load-balancer-configuration\/#primaryimage","url":"https:\/\/i0.wp.com\/ubiq.co\/tech-blog\/wp-content\/uploads\/2020\/06\/apache-load-balancer-configuration.png?fit=736%2C385&ssl=1","contentUrl":"https:\/\/i0.wp.com\/ubiq.co\/tech-blog\/wp-content\/uploads\/2020\/06\/apache-load-balancer-configuration.png?fit=736%2C385&ssl=1","width":736,"height":385,"caption":"configure apache load balancer"},{"@type":"BreadcrumbList","@id":"https:\/\/ubiq.co\/tech-blog\/apache-load-balancer-configuration\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ubiq.co\/tech-blog\/"},{"@type":"ListItem","position":2,"name":"How to Configure Apache Load Balancer"}]},{"@type":"WebSite","@id":"https:\/\/ubiq.co\/tech-blog\/#website","url":"https:\/\/ubiq.co\/tech-blog\/","name":"Ubiq BI","description":"Build dashboards &amp; reports in minutes","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ubiq.co\/tech-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/ubiq.co\/tech-blog\/#\/schema\/person\/db98d49a766a3a111d8510935ab90abc","name":"Sreeram Sreenivasan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4b3127ed2d4bb8efb3fa0bbb52cf2efd4d0156c97fc05a503537c883e8279947?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4b3127ed2d4bb8efb3fa0bbb52cf2efd4d0156c97fc05a503537c883e8279947?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4b3127ed2d4bb8efb3fa0bbb52cf2efd4d0156c97fc05a503537c883e8279947?s=96&d=mm&r=g","caption":"Sreeram Sreenivasan"},"description":"Sreeram Sreenivasan is the Founder of Ubiq. He has helped many Fortune 500 companies in the areas of BI &amp; software development.","sameAs":["https:\/\/www.linkedin.com\/in\/sreeram-sreenivasan\/"],"url":"https:\/\/ubiq.co\/tech-blog\/author\/wordpress\/"}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/ubiq.co\/tech-blog\/wp-content\/uploads\/2020\/06\/apache-load-balancer-configuration.png?fit=736%2C385&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/pbGGTT-i9","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/posts\/1125","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/comments?post=1125"}],"version-history":[{"count":11,"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/posts\/1125\/revisions"}],"predecessor-version":[{"id":9153,"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/posts\/1125\/revisions\/9153"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/media\/1133"}],"wp:attachment":[{"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/media?parent=1125"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/categories?post=1125"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/tags?post=1125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}