{"id":4505,"date":"2014-08-19T09:21:20","date_gmt":"2014-08-19T09:21:20","guid":{"rendered":"https:\/\/bodhost.com\/kb\/?p=4505"},"modified":"2026-02-26T14:04:31","modified_gmt":"2026-02-26T14:04:31","slug":"how-to-setup-a-reverse-proxy-with-apache-mod-proxy","status":"publish","type":"post","link":"https:\/\/www.bodhost.com\/kb\/how-to-setup-a-reverse-proxy-with-apache-mod-proxy\/","title":{"rendered":"How to Setup a Reverse Proxy with Apache Mod_Proxy?"},"content":{"rendered":"\r\n<p class=\"wp-block-paragraph\" data-start=\"227\" data-end=\"534\">A reverse proxy acts as a gateway between clients and backend servers, improving security, performance, and scalability. With Apache\u2019s mod_proxy and mod_proxy_http modules, you can configure Apache as a reverse proxy to redirect incoming requests to another server while still serving content locally.<\/p>\r\n<p data-start=\"536\" data-end=\"666\">In this guide, we\u2019ll walk through the step-by-step process to set up a reverse proxy with Apache mod_proxy on Linux servers.<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">We do not discuss here the subjects of Load distribution. Or load balancing that can perform the role of a reverse proxy. The system of reverse proxy may here be summarized as follows:<\/p>\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"alignleft\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"190\" class=\"wp-image-4506\" src=\"https:\/\/bodhost.com\/kb\/wp-content\/uploads\/2014\/08\/1-300x190.jpg\" alt=\"\" srcset=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2014\/08\/1-300x190.jpg 300w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2014\/08\/1.jpg 625w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n<p class=\"wp-block-paragraph\">Therefore, there is a first server front-end that receives all requests. And multiple web servers\u2019 backend that each contains a different website (or even as part of a load balancing).<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">So we will set up the reverse proxy server to redirect requests according to each URL and the requested content.<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">This done by folder (for example, just redirect \/ image to a specific server) or a full URL, what we see here:<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\"><strong>Architectural Implementation:<\/strong><\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">To illustrate the implementation of our Apache reverse proxy, here we will follow the below schedule:<\/p>\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"859\" height=\"288\" class=\"wp-image-4510\" src=\"https:\/\/bodhost.com\/kb\/wp-content\/uploads\/2014\/08\/2.jpg\" alt=\"\" srcset=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2014\/08\/2.jpg 859w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2014\/08\/2-300x100.jpg 300w\" sizes=\"auto, (max-width: 859px) 100vw, 859px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">So we have a first server with the public IP 10.10.10.21 that will receive all requests from clients. It contains the www.firstdomain.com, then a second server which contains the website www.seconddomain.com.<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">So we will configure our first server Reverse Proxy. So that it redirects requests to www.seconddomain.com by the second server, fulfilling its role as a reverse proxy.<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">However, it will continue to respond to those requests for www.firstdomain.com, to illustrate how a normal website uses a reverse proxy:<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">We assumed here that the machines are in place at the OS level, network, and have a functional Apache server with a website on each machine that meets the good URL.<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\"><strong>Installation and Configuration<\/strong><\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">We will initially activate proxy_http on the reverse proxy server. This is the module mod_proxy specific to the HTTP protocol that we work with here. For this, we entered the below command:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">| a2enmod proxy_http\r\n<\/pre>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">1) The module &#8220;proxy&#8221; should be activated at the same time:<br \/>2) We will then restart apache2 so that the modules are active:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">| Service apache2 restart\r\n<\/pre>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">We will now create two virtual hosts. One will lead www.firstdomain.com requests to local content and another who has the role of the reverse proxy and direct the requests to the second server www.secondserver.com with a standard configuration.<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">| touch \/etc\/apache2\/sites-available\/firstdomain.com\r\n<\/pre>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">| touch \/etc\/apache2\/sites-available\/seconddomain.com\r\n<\/pre>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">We will not perform these configurations: here we willingly place only the information that is needed to keep the bulk seen in:<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\"><b>Here is the configuration firstdomain.com<\/b><\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">&lt; VirtualHost *:80 &gt;\r\n\tServerName www.firstdomain.com\r\n\tDocumentRoot \/var\/www\/firstdomain\r\n&lt; \/VirtualHost &gt; \r\n<\/pre>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\"><b>Here is the configuration of seconddomain.com which is the one that will be the reverse proxy:<\/b><\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">&lt; VirtualHost *:80 &gt;\r\n\tServerName www.seconddomain.com\r\n\tProxyPreserveHost On\r\n\tProxyRequests On\r\n\tProxyPass \/ http:\/\/10.10.10.23\/\r\n\tProxyPassReverse \/ http:\/\/10.10.10.23\r\n&lt; \/VirtualHost &gt;\r\n<\/pre>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\"><b>Then we can enable them:<\/b><\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">| a2ensite firstdomain.com\r\n| a2ensite seconddomain.com\r\n<\/pre>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\"><b>We can now reload the configuration of Apache2<\/b><\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">| Service apache2 reload\r\n<\/pre>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\"><b>We will now proceed to the test.<\/b><\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">Note: At this point, we also verify that the test website (here firstdomain.com and seconddomain.com) be resolved with DNS level to bring the worm first server with the role of a reverse proxy.<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">For this you just have to go on both websites, the largest being of course to have a response from the second server that is located behind the reverse proxy:<\/p>\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"523\" height=\"125\" class=\"wp-image-4531\" src=\"https:\/\/bodhost.com\/kb\/wp-content\/uploads\/2014\/08\/RProxy041.png\" alt=\"\" srcset=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2014\/08\/RProxy041.png 523w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2014\/08\/RProxy041-300x71.png 300w\" sizes=\"auto, (max-width: 523px) 100vw, 523px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n<p class=\"wp-block-paragraph\">We have a reverse proxy server in place.<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\"><strong>Go further<\/strong><\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">To go further, it is common to find this kind of advanced server with security features or cache. One can for example use the Apache module to reduce server load.<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">There is also the module mod_security which filters requests and blocks some of them if they appear to undermine the security of websites.<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">In addition, the reverse proxy is often used for functions of load sharing and load balancing which likely to see in another tutorial.<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\"><strong>Incoming searches related to apache reverse proxy<\/strong><\/p>\r\n\r\n\r\n\r\n<ol class=\"wp-block-list\">\r\n<li>apache reverse proxy example<\/li>\r\n\r\n\r\n\r\n<li>apache reverse proxy Ubuntu<\/li>\r\n\r\n\r\n\r\n<li>apache2 reverse proxy<\/li>\r\n\r\n\r\n\r\n<li>apache reverse proxy virtual host<\/li>\r\n\r\n\r\n\r\n<li>apache reverse proxy rewrite<\/li>\r\n\r\n\r\n\r\n<li>apache reverse proxy ssl<\/li>\r\n\r\n\r\n\r\n<li>apache reverse proxy authentication<\/li>\r\n\r\n\r\n\r\n<li>apache reverse proxy is<\/li>\r\n<\/ol>\r\n\r\n\r\n\r\n<pre class=\"wp-block-verse\"><strong>Read Also: <a href=\"https:\/\/www.bodhost.com\/kb\/how-to-use-whm-to-download-a-domains-raw-apache-logs\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Use WHM to Download a Domain\u2019s Raw Apache Logs<\/a><\/strong><\/pre>\r\n","protected":false},"excerpt":{"rendered":"<p>A reverse proxy acts as a gateway between clients and backend servers, improving security, performance, and scalability. With Apache\u2019s mod_proxy and mod_proxy_http modules, you can configure Apache as a reverse&hellip;<\/p>\n<p><a href=\"https:\/\/www.bodhost.com\/kb\/how-to-setup-a-reverse-proxy-with-apache-mod-proxy\/\" class=\"more-link\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[894],"tags":[596,595,594],"class_list":["post-4505","post","type-post","status-publish","format-standard","hentry","category-apache-web-server","tag-apache-reverse-proxy-rewrite","tag-apache-reverse-proxy-virtual-host","tag-apache2-reverse-proxy"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Setup a Reverse Proxy with Apache Mod_Proxy?<\/title>\n<meta name=\"description\" content=\"how to setup an Apache reverse proxy with mod_proxy and mod_proxy_http. Guide with configuration, testing, and pro tips for secure servers.\" \/>\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.bodhost.com\/kb\/how-to-setup-a-reverse-proxy-with-apache-mod-proxy\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Setup a Reverse Proxy with Apache Mod_Proxy?\" \/>\n<meta property=\"og:description\" content=\"how to setup an Apache reverse proxy with mod_proxy and mod_proxy_http. Guide with configuration, testing, and pro tips for secure servers.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bodhost.com\/kb\/how-to-setup-a-reverse-proxy-with-apache-mod-proxy\/\" \/>\n<meta property=\"og:site_name\" content=\"Knowledge Base - bodHOST\" \/>\n<meta property=\"article:published_time\" content=\"2014-08-19T09:21:20+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-26T14:04:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2014\/08\/1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"625\" \/>\n\t<meta property=\"og:image:height\" content=\"397\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-setup-a-reverse-proxy-with-apache-mod-proxy\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-setup-a-reverse-proxy-with-apache-mod-proxy\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/c48414ad1536cea20e85282b0737a9f9\"},\"headline\":\"How to Setup a Reverse Proxy with Apache Mod_Proxy?\",\"datePublished\":\"2014-08-19T09:21:20+00:00\",\"dateModified\":\"2026-02-26T14:04:31+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-setup-a-reverse-proxy-with-apache-mod-proxy\\\/\"},\"wordCount\":675,\"publisher\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-setup-a-reverse-proxy-with-apache-mod-proxy\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2014\\\/08\\\/1-300x190.jpg\",\"keywords\":[\"apache reverse proxy rewrite\",\"apache reverse proxy virtual host\",\"apache2 reverse proxy\"],\"articleSection\":[\"Apache Web server\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-setup-a-reverse-proxy-with-apache-mod-proxy\\\/\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-setup-a-reverse-proxy-with-apache-mod-proxy\\\/\",\"name\":\"How to Setup a Reverse Proxy with Apache Mod_Proxy?\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-setup-a-reverse-proxy-with-apache-mod-proxy\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-setup-a-reverse-proxy-with-apache-mod-proxy\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2014\\\/08\\\/1-300x190.jpg\",\"datePublished\":\"2014-08-19T09:21:20+00:00\",\"dateModified\":\"2026-02-26T14:04:31+00:00\",\"description\":\"how to setup an Apache reverse proxy with mod_proxy and mod_proxy_http. Guide with configuration, testing, and pro tips for secure servers.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-setup-a-reverse-proxy-with-apache-mod-proxy\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-setup-a-reverse-proxy-with-apache-mod-proxy\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-setup-a-reverse-proxy-with-apache-mod-proxy\\\/#primaryimage\",\"url\":\"https:\\\/\\\/bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2014\\\/08\\\/1-300x190.jpg\",\"contentUrl\":\"https:\\\/\\\/bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2014\\\/08\\\/1-300x190.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-setup-a-reverse-proxy-with-apache-mod-proxy\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Apache Web server\",\"item\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/category\\\/apache-web-server\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Setup a Reverse Proxy with Apache Mod_Proxy?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/\",\"name\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\"},\"alternateName\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\",\"name\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/Profile-Pic.png\",\"contentUrl\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/Profile-Pic.png\",\"width\":240,\"height\":240,\"caption\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/c48414ad1536cea20e85282b0737a9f9\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/51e53199212db3f59606920448d45a6ead224f904558e3ab9251d071a609b202?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/51e53199212db3f59606920448d45a6ead224f904558e3ab9251d071a609b202?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/51e53199212db3f59606920448d45a6ead224f904558e3ab9251d071a609b202?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Setup a Reverse Proxy with Apache Mod_Proxy?","description":"how to setup an Apache reverse proxy with mod_proxy and mod_proxy_http. Guide with configuration, testing, and pro tips for secure servers.","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.bodhost.com\/kb\/how-to-setup-a-reverse-proxy-with-apache-mod-proxy\/","og_locale":"en_US","og_type":"article","og_title":"How to Setup a Reverse Proxy with Apache Mod_Proxy?","og_description":"how to setup an Apache reverse proxy with mod_proxy and mod_proxy_http. Guide with configuration, testing, and pro tips for secure servers.","og_url":"https:\/\/www.bodhost.com\/kb\/how-to-setup-a-reverse-proxy-with-apache-mod-proxy\/","og_site_name":"Knowledge Base - bodHOST","article_published_time":"2014-08-19T09:21:20+00:00","article_modified_time":"2026-02-26T14:04:31+00:00","og_image":[{"width":625,"height":397,"url":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2014\/08\/1.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.bodhost.com\/kb\/how-to-setup-a-reverse-proxy-with-apache-mod-proxy\/#article","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-setup-a-reverse-proxy-with-apache-mod-proxy\/"},"author":{"name":"admin","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/person\/c48414ad1536cea20e85282b0737a9f9"},"headline":"How to Setup a Reverse Proxy with Apache Mod_Proxy?","datePublished":"2014-08-19T09:21:20+00:00","dateModified":"2026-02-26T14:04:31+00:00","mainEntityOfPage":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-setup-a-reverse-proxy-with-apache-mod-proxy\/"},"wordCount":675,"publisher":{"@id":"https:\/\/www.bodhost.com\/kb\/#organization"},"image":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-setup-a-reverse-proxy-with-apache-mod-proxy\/#primaryimage"},"thumbnailUrl":"https:\/\/bodhost.com\/kb\/wp-content\/uploads\/2014\/08\/1-300x190.jpg","keywords":["apache reverse proxy rewrite","apache reverse proxy virtual host","apache2 reverse proxy"],"articleSection":["Apache Web server"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.bodhost.com\/kb\/how-to-setup-a-reverse-proxy-with-apache-mod-proxy\/","url":"https:\/\/www.bodhost.com\/kb\/how-to-setup-a-reverse-proxy-with-apache-mod-proxy\/","name":"How to Setup a Reverse Proxy with Apache Mod_Proxy?","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-setup-a-reverse-proxy-with-apache-mod-proxy\/#primaryimage"},"image":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-setup-a-reverse-proxy-with-apache-mod-proxy\/#primaryimage"},"thumbnailUrl":"https:\/\/bodhost.com\/kb\/wp-content\/uploads\/2014\/08\/1-300x190.jpg","datePublished":"2014-08-19T09:21:20+00:00","dateModified":"2026-02-26T14:04:31+00:00","description":"how to setup an Apache reverse proxy with mod_proxy and mod_proxy_http. Guide with configuration, testing, and pro tips for secure servers.","breadcrumb":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-setup-a-reverse-proxy-with-apache-mod-proxy\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bodhost.com\/kb\/how-to-setup-a-reverse-proxy-with-apache-mod-proxy\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bodhost.com\/kb\/how-to-setup-a-reverse-proxy-with-apache-mod-proxy\/#primaryimage","url":"https:\/\/bodhost.com\/kb\/wp-content\/uploads\/2014\/08\/1-300x190.jpg","contentUrl":"https:\/\/bodhost.com\/kb\/wp-content\/uploads\/2014\/08\/1-300x190.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.bodhost.com\/kb\/how-to-setup-a-reverse-proxy-with-apache-mod-proxy\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Apache Web server","item":"https:\/\/www.bodhost.com\/kb\/category\/apache-web-server\/"},{"@type":"ListItem","position":2,"name":"How to Setup a Reverse Proxy with Apache Mod_Proxy?"}]},{"@type":"WebSite","@id":"https:\/\/www.bodhost.com\/kb\/#website","url":"https:\/\/www.bodhost.com\/kb\/","name":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","description":"","publisher":{"@id":"https:\/\/www.bodhost.com\/kb\/#organization"},"alternateName":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.bodhost.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.bodhost.com\/kb\/#organization","name":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","url":"https:\/\/www.bodhost.com\/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/10\/Profile-Pic.png","contentUrl":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/10\/Profile-Pic.png","width":240,"height":240,"caption":"Web Hosting Knowledge Base | bodHOST Hosting FAQ"},"image":{"@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/person\/c48414ad1536cea20e85282b0737a9f9","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/51e53199212db3f59606920448d45a6ead224f904558e3ab9251d071a609b202?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/51e53199212db3f59606920448d45a6ead224f904558e3ab9251d071a609b202?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/51e53199212db3f59606920448d45a6ead224f904558e3ab9251d071a609b202?s=96&d=mm&r=g","caption":"admin"},"url":"https:\/\/www.bodhost.com\/kb\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/4505","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/comments?post=4505"}],"version-history":[{"count":30,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/4505\/revisions"}],"predecessor-version":[{"id":14515,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/4505\/revisions\/14515"}],"wp:attachment":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/media?parent=4505"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/categories?post=4505"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/tags?post=4505"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}