{"id":751,"date":"2015-06-30T13:30:32","date_gmt":"2015-06-30T08:00:32","guid":{"rendered":"https:\/\/www.ibeehosting.com\/blog\/?p=751"},"modified":"2015-06-30T13:32:19","modified_gmt":"2015-06-30T08:02:19","slug":"http-proxy-windows-arr-blog-sub-domain","status":"publish","type":"post","link":"https:\/\/www.ibeehosting.com\/blog\/http-proxy-windows-arr-blog-sub-domain.html","title":{"rendered":"How to use http proxy for changing your blog from sub domain to main domain"},"content":{"rendered":"<p>After the recent clarification from Google that they treat sub domains as equivalent to new domains web masters having an issue on how to migrate their sub domain blogs like blog.domain&#8211;name.com to domain&#8211;name.com\/blog especially for the large sites having multi server architecture. For example if you have one web server one DB server and log server, if you want your blog to be hosted in log server because of wordpress blog requires PHP and Mysql software in web server and you don&#8217;t want to overload your web server with so many software or you want to use WordPress blog from a shared hosting account then you can use this Windows ARR or http proxy, below is the step by step process to configure Windows ARR and http proxy on windows servers. <\/p>\n<p>Internet traffic can be controlled through Application Request Routing which is the prominent feature of the IIS. A proxy server acts as an intermediary router processing requests \u00a0between clients and or Web server workers on the response side.From the request side a proxy server accepts the requests from one \u00a0among the multiple clients, and proceed the requests to one of the multiple clients and on the response side, the proxy server accepts a request from the Internet nd distributes it one the multiple web server workers. The Internet assimilates that a proxy server proceeds requests and generate the responses for the same rather than the backend workers.<\/p>\n<p>One among the types of the server is Forward Proxy where Proxy server \u00a0handles \u00a0an outbound request from the clients, forward it to the internet and generates the response to the client.<\/p>\n<p>In Reverse Proxy, the Proxy Server handles the requests from the Internet and passes it to backend workers and in return generate the response for the same to the Internet.<\/p>\n<a href=\"https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/5.png\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-752 size-full\" src=\"https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/5.png\" alt=\"5\" width=\"727\" height=\"361\" srcset=\"https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/5.png 727w, https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/5-300x149.png 300w\" sizes=\"(max-width: 727px) 100vw, 727px\" \/><\/a>\n<p>Forward Proxy and Reverse proxy seem to act as a proxy for the request and response side but differ somehow in functionalities. in both the scenarios proxy server isolates the private network from the internet ensuring \u00a0the security measures applicability.<\/p>\n<p><b>ARR as a forward Proxy<\/b><\/p>\n<p>Serving ARR as a forward proxy, enables ARR to be a part of an internal network( or Intranet) of Clients computer. It can be used to improve bandwidth usage and performance.<\/p>\n<p>Keep a note that ARR Processes only HTTP traffic, none other protocols are being processed.<\/p>\n<a href=\"https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/7.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-753 size-full\" src=\"https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/7.png\" alt=\"7\" width=\"692\" height=\"403\" srcset=\"https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/7.png 692w, https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/7-300x175.png 300w\" sizes=\"(max-width: 692px) 100vw, 692px\" \/><\/a>\n<p>When the clients send the request naming the target web server, it is being processed as follows and forwards it through the firewall to the internet.<\/p>\n<ol>\n<li>The Forward Server receives the request from a client, and validates that request.<\/li>\n<li>Upon Validation, ARR checks the if there is an already preexisted response to the same, and upon existence ARR sends the response to the client without forwarding the request to the internet.<\/li>\n<li>If the preexisted response does not exist in the cache, Proxy server sends the request through the firewall to an Internet connection, and to the content server that retains the information.<\/li>\n<\/ol>\n<p><b>Advantages \u00a0\u00a0<\/b><\/p>\n<ol>\n<li>Enhances performance and lowers the network traffic by caching the frequently requested content thus eliminating the request to proceed to the content server.<\/li>\n<li>Aids in improving network security by parsing only the valid requests.<\/li>\n<li>Progress the performance by using IIs Compression (if enabled)<\/li>\n<li>Supports filtering to ensure that policies are met, using URL Rewrite.<\/li>\n<\/ol>\n<p><b>Installing and configuring ARR as a forward Proxy<\/b><\/p>\n<p><b>PREREQUISITES<\/b><\/p>\n<p>To set up a forward Proxy Server following are the obligatory requirements<\/p>\n<ol>\n<li>\u00a0IIS 7.0 or Above windows 2008 or newer tracing role service installed for IIS<\/li>\n<li>Microsoft request routing version 3 and dependent modules.<\/li>\n<li>Minimum of one worker server with working sites and \u00a0applications.<\/li>\n<\/ol>\n<p><b>Configuring ARR as a forward proxy server<\/b><\/p>\n<p>To enable ARR as a proxy, and for creating \u00a0a URL Rewrite rules to enable ARR as a forward proxy, proceed as follows.<\/p>\n<ol>\n<li>Open Internet Information services (IIS) Manager.<\/li>\n<li>By navigating in the Connections Pane, Select the Server.<\/li>\n<li>In the Server Pane, Navigate on the Application Request Routing Cache and Double click on the same.<\/li>\n<\/ol>\n<a href=\"https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-754 size-full\" src=\"https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/1.png\" alt=\"1\" width=\"785\" height=\"449\" srcset=\"https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/1.png 785w, https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/1-300x172.png 300w\" sizes=\"(max-width: 785px) 100vw, 785px\" \/><\/a>\n<p>4. Go to Server Proxy Setting in the Actions Pane<\/p>\n<a href=\"https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/2.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-755 size-full\" src=\"https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/2.png\" alt=\"2\" width=\"785\" height=\"449\" srcset=\"https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/2.png 785w, https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/2-300x172.png 300w\" sizes=\"(max-width: 785px) 100vw, 785px\" \/><\/a>\n<p>5. In the application Request Routing Page, Select enable proxy<\/p>\n<a href=\"https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/3.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-756 size-full\" src=\"https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/3.png\" alt=\"3\" width=\"785\" height=\"449\" srcset=\"https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/3.png 785w, https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/3-300x172.png 300w\" sizes=\"(max-width: 785px) 100vw, 785px\" \/><\/a>\n<p>6. In the Actions pane, Click on Apply button. This will enable ARR as a proxy at the Server Level.<\/p>\n<a href=\"https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/4.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-757 size-full\" src=\"https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/4.png\" alt=\"4\" width=\"785\" height=\"449\" srcset=\"https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/4.png 785w, https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/4-300x172.png 300w\" sizes=\"(max-width: 785px) 100vw, 785px\" \/><\/a>\n<p>7. To initiate the process of turning ARR into a forward proxy, in the connections \u00a0pane, Click on the Server node.<\/p>\n<p>8.Double click the URL \u00a0Rewrite in the server pane.<\/p>\n<a href=\"https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/8.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-758 size-full\" src=\"https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/8.png\" alt=\"8\" width=\"1003\" height=\"504\" srcset=\"https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/8.png 1003w, https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/8-300x151.png 300w\" sizes=\"(max-width: 1003px) 100vw, 1003px\" \/><\/a>\n<p>9. In the Actions Pane, Click Add Rule(s).<\/p>\n<a href=\"https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/9.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-760 size-full\" src=\"https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/9.png\" alt=\"9\" width=\"928\" height=\"472\" srcset=\"https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/9.png 928w, https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/9-300x153.png 300w\" sizes=\"(max-width: 928px) 100vw, 928px\" \/><\/a>\n<p>10. In the Add rule dialog box, double- click Blank Rule.<\/p>\n<a href=\"https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/10.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-759 size-full\" src=\"https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/10.png\" alt=\"10\" width=\"688\" height=\"452\" srcset=\"https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/10.png 688w, https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/10-300x197.png 300w\" sizes=\"(max-width: 688px) 100vw, 688px\" \/><\/a>\n<p>11. Within the Edit Inbound Rule dialog box, enter &#8221; Forward Proxy&#8221; for Name. In the Match URL area, enter the \u00a0following:<\/p>\n<p>Using: Wildcards<\/p>\n<p>Pattern: *<\/p>\n<a href=\"https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/11-2.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-761 size-full\" src=\"https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/11-2.png\" alt=\"11-2\" width=\"558\" height=\"366\" srcset=\"https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/11-2.png 558w, https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/11-2-300x197.png 300w\" sizes=\"(max-width: 558px) 100vw, 558px\" \/><\/a>\n<ol start=\"12\">\n<li>Navigate on the \u00a0Conditions area of the Edit Inbound Rule dialog box and then Click ADD<\/li>\n<\/ol>\n<a href=\"https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/11.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-763 size-full\" src=\"https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/11.png\" alt=\"11\" width=\"670\" height=\"501\" srcset=\"https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/11.png 670w, https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/11-300x224.png 300w\" sizes=\"(max-width: 670px) 100vw, 670px\" \/><\/a>\n<ol start=\"13\">\n<li>In the Add Condition dialog box, select or enter the following:<\/li>\n<\/ol>\n<p>Condition Input: {HTTP_HOST}<\/p>\n<p>Type: Matches the Pattern<\/p>\n<p>Pattern: *<\/p>\n<a href=\"https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/13.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-764 size-full\" src=\"https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/13.png\" alt=\"13\" width=\"489\" height=\"321\" srcset=\"https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/13.png 489w, https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/13-300x197.png 300w\" sizes=\"(max-width: 489px) 100vw, 489px\" \/><\/a>\n<ol start=\"14\">\n<li>Scroll down to the Action area of the Edit Inbound Rule dialog box, and then enter the following:<\/li>\n<\/ol>\n<p>Action Type: Rewrite<\/p>\n<p>Rewrite URL: http:\/\/{C:1}\/{R:0}<\/p>\n<a href=\"https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/121.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-765 size-full\" src=\"https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/121.png\" alt=\"12\" width=\"670\" height=\"541\" srcset=\"https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/121.png 670w, https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/121-300x242.png 300w\" sizes=\"(max-width: 670px) 100vw, 670px\" \/><\/a>\n<ol start=\"15\">\n<li>Click Apply in the Actions pane<\/li>\n<\/ol>\n<p>Note: This rule enables HTTP messages to pass through the forward proxy. HTTPS (443) messages are not supported on this forward proxy because ARR does not support HTTP CONNECT.<\/p>\n<ol start=\"16\">\n<li>Your Proxy Settings has been configured appropriately in your applications, browsers and etc.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>After the recent clarification from Google that they treat sub domains as equivalent to new domains web masters having an issue on how to migrate their sub domain blogs like blog.domain&#8211;name.com to domain&#8211;name.com\/blog especially for the large sites having multi server architecture. For example if you have one web server one DB server and log [&hellip;]<\/p>\n","protected":false},"author":30,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[254],"tags":[262,263],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v15.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\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.ibeehosting.com\/blog\/http-proxy-windows-arr-blog-sub-domain.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to use http proxy for changing your blog from sub domain to main domain\" \/>\n<meta property=\"og:description\" content=\"After the recent clarification from Google that they treat sub domains as equivalent to new domains web masters having an issue on how to migrate their sub domain blogs like blog.domain&#8211;name.com to domain&#8211;name.com\/blog especially for the large sites having multi server architecture. For example if you have one web server one DB server and log [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.ibeehosting.com\/blog\/http-proxy-windows-arr-blog-sub-domain.html\" \/>\n<meta property=\"og:site_name\" content=\"The Real Dedicated Hosting Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ibeehosting\" \/>\n<meta property=\"article:published_time\" content=\"2015-06-30T08:00:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-06-30T08:02:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/5.png\" \/>\n<meta name=\"twitter:card\" content=\"summary\" \/>\n<meta name=\"twitter:creator\" content=\"@ibeehosting\" \/>\n<meta name=\"twitter:site\" content=\"@ibeehosting\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.ibeehosting.com\/blog\/#website\",\"url\":\"https:\/\/www.ibeehosting.com\/blog\/\",\"name\":\"The Real Dedicated Hosting Blog\",\"description\":\"Performance, Scalability and Engineering\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/www.ibeehosting.com\/blog\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.ibeehosting.com\/blog\/http-proxy-windows-arr-blog-sub-domain.html#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/www.ibeehosting.com\/blog\/wp-content\/uploads\/2015\/06\/5.png\",\"width\":727,\"height\":361},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.ibeehosting.com\/blog\/http-proxy-windows-arr-blog-sub-domain.html#webpage\",\"url\":\"https:\/\/www.ibeehosting.com\/blog\/http-proxy-windows-arr-blog-sub-domain.html\",\"name\":\"How to use http proxy for changing your blog from sub domain to main domain\",\"isPartOf\":{\"@id\":\"https:\/\/www.ibeehosting.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.ibeehosting.com\/blog\/http-proxy-windows-arr-blog-sub-domain.html#primaryimage\"},\"datePublished\":\"2015-06-30T08:00:32+00:00\",\"dateModified\":\"2015-06-30T08:02:19+00:00\",\"author\":{\"@id\":\"https:\/\/www.ibeehosting.com\/blog\/#\/schema\/person\/0af122bb530f9537b3a567f42e3c7c14\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.ibeehosting.com\/blog\/http-proxy-windows-arr-blog-sub-domain.html\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.ibeehosting.com\/blog\/#\/schema\/person\/0af122bb530f9537b3a567f42e3c7c14\",\"name\":\"Goldy Sachan\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.ibeehosting.com\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/9c6bf29b0a360f7cfaa7ff46775ca3c0?s=96&d=mm&r=g\",\"caption\":\"Goldy Sachan\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ibeehosting.com\/blog\/wp-json\/wp\/v2\/posts\/751"}],"collection":[{"href":"https:\/\/www.ibeehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ibeehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ibeehosting.com\/blog\/wp-json\/wp\/v2\/users\/30"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ibeehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=751"}],"version-history":[{"count":0,"href":"https:\/\/www.ibeehosting.com\/blog\/wp-json\/wp\/v2\/posts\/751\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.ibeehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=751"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ibeehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=751"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ibeehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=751"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}