Skip to content

Setting up IIS as a reverse proxy

Overview

tl;dr;

This post is all about setting up IIS(8.5) in order to be used as a reverse proxy.

Use multiple different Webservers (IIS/Apache/Tomcat) and run them on the same server and port.

Installing IIS

Just install IIS by using the add roles and feature functionality of windows server 2012

Installing apache

I currently have the problem that I own a windows 2012 virtual server, and need to run IIS and Apache on it. Installation is actually super easy, just install IIS and then Apache (I took the apache binaries for windows from apachehaus )

But if you now try to start apache, the following error will show up:

(OS 10013)An attempt was made to access a socket in a way forbidden by its access permissions.  : AH00072: make_sock: could not bind to address [::]:80

image_thumb

This happens because I'm trying to open port 80 with apache while port 80 is already used by IIS.  And the same would happen when I try to start Tomcat or any other server which tries to run on port 80.

This error can be avoided by setting the Listen Port  of apache to anything different than port 80, i.e. 8080. Problem with this solution is that any site served by apache can only be reached via port 8080 which is super uncool since a user then has to enter the port 8080 together with the domain name.

Setup IIS

In order to use IIS as a reverse proxy, the rewrite module must be installed. This can be done by downloading it from the microsoft website

image_thumb6

To get rewrite(Not only redirect) working, the application request routing must be installed as well from the microsoft website

Now the Application Request Routing must be configured in IIS manager. It's as simple as checking the Enable proxy checkbox.

image_thumb8

image_thumb10

Now a new website must be added in IIS pointing to an empty directory. In order for IIS to act properly as a proxy, this website must be bound to a host name. (For this demo and since I don't have a hostname, I just added a entry into the host file of the computer)

image_thumb4

When now connecting to this site, noting must be shown since there is no content in the configured folder.

Next step is to setup the rewrite rule.

Setup rewrite rule in IIS

Add a new Blank rule via URL rewrite

image_thumb15

image_thumb14

The rule must look like the following sample.

This is the corresponding web.config to the screenshot below:



    
        
            
                
                    
                    
                
            
        
    


image_thumb17

Done

Now it's done. Requests sent to proxytest.com:80 will be rewritten from IIS to the address from rewrite URL.

With this configuration, it's possible to run IIS, Apache, Tomcat and many other webserver at the same time on the same server under the same port.

Great thing.

Trackbacks

Comments

Display comments as Linear | Threaded

Vijay on :

Does it works for tomcat?

Donato on :

I'm having problems passing authorization headers to my Apache-powered web application listening to port 8080... Is there any configuration to be set?

Prachi Sharma on :

Amazing trick, you saved my day... it worked thanks

online dissertation proposal service on :

In straightforward terms its fills in as a transitional server, which tunes in to customers inquiry. At that point solicitations to server bases of customers inquiry and returns results to customer sent by the server. This instructional exercise will help you to set up invert intermediary utilizing IIS with URL revamp and application ask for directing augmentation.

ogwhatsapp on :

Download Ogwhatsapp Ogwhatsapp is a latest mod of whatsapp in 2018. You can directly download apk from the OGwhatsapp download page OGwhatsapp

CBD öl on :

Cool you write, the information is very good and interesting, I'll give you a link to my site.

flashify on :

Thank you for bringing that experience to you. I like this post very much.

zarchiver on :

Thanks for giving me the useful information. I think I need it!

ssc kya hai on :

Thanks blogger for sharing the best article.

sham on :

GBWhatsapp apk Download Latest Version 2018. Download Latest GB Whatsapp for Use 2 Whatsapp in One Mobile.

Quitclaim Deed Form Online on :

Interactive legal form helps an unmarried person draft a Quitclaim Deed that transfers title of real property to another individual or trust.

jenny on :

Nice info it will save time. Thanks https://gbwhatsapp.pro/ogwhatsapp-apk-android-download-whatsapp-mod/

assignment writing service in Karachi on :

In all over the world, the most effective problem in the student's life is the academic or assignment writing problem and especially mostly the IT students commonly faced the problem of assignment because of the updations of the IT industry.

My assignment help on :

John Noels is working as an academic writer at Instant Assignment Help from many years. Till date, he has delivered innumerable high-quality academic documents to the students, and is adept at completing assignment writing work within deadline.

Assignment Help on :

Great Informative Post. I really appreciate your efforts about the post.

Do My Assignment on :

Nice info you have shared with us all, it will shared it as much as possible.

online assignment help on :

Global Assignment Help is No. 1 Assignment help and writing service provider across the globe. We have a large pool of qualified PhD writers who are dedicated to provide quality assignment writing service for students in all kind of subjects. Students can easily get help with assignment writing and assignment help online at very nominal price.

Superhero's on :

It is extremely exceptionally decent and stunning work to do appreciate free in the event that you are intrigue

Supply Chain Management Assignment Help on :

Assignment Prime is one of the most renowned assignment writing service providers that has been trusted by thousands of students. We cater to the academic requirements of scholars and provide them with the best every time they need help with assignments. With an experience of more than a decade, we’ve set a benchmark of being one of the leading online assignment help providers in Australia. The highly qualified assignment writers that we’ve on board work with their utmost ability to provide the best assignment help to students so that they can secure excellent marks. Once you buy assignments from us, you’ll notice a huge difference in your grades and pass your course with flying colors!

YES Bank Internet Banking on :

At present, almost every client and user want to do the most of the transactions online and for that net banking is considered one of the best methods

Andy Wilson on :

If you have any assignment requirement then you are at the right place. We will provide you with supreme quality papers at the cheapest price. 100% Plagiarism Free Content. We help students in assignments of all business subjects. We have more than 5 years of post-qualification experience in helping the students in solving their academic assignments.

Get assignment help from Professional.

life insurance mortgage on :

These plans are designed to help interested homebuyers realize their dream of owning a home of their own through affordable monthly premiums.

Assignment Helper on :

Read as loudly as you can. Your thought process gets sloawer when you're reading something. So naturally, you pay more attention to what you talk about, which will assist you to do away with your distractions. And in case if you can't get rid of your distractions, you can hire an assignment help online expert. Choose Myassignmenthelp.com. Work on enhancing your resume before everything else. You can start by performing an assessment of your CV, which might provide you with a clear idea of where you should focus your efforts before moving on to pursue an MBA. You can also check out various buy assignment companies for valuable insights when you need help with doing your assignment.

Buy Assignment on :

Get the quality assistance of highly qualified writers and experts under Buy Assignment who have PhD and Master Degree in their respective fields.

Do My Essay on :

Essay writing service is a kind of art that we are best on it. Most of the students are looking for best essay writing service uk, nursing essay writing service or cheap essay writing service however, we are include will all these qualities feel free to visit us and get professional advise free and further steps in cheapest cost and rate.

john amber on :

I suggest all members choose assignment help Australia for the best guideline in your academia. The perfect and expert assistant your requirement and learning assignment project by university. More info- https://www.firstassignmenthelp.com

Assignment help on :

I suggest all members choose assignment help Australia for the best guideline in your academia. The perfect and expert assistant your requirement and learning assignment project by the university.

the impossible quiz on :

I always like your article because you have provide every time informative post..Thanks!

Stanton Hoover on :

Not everyone is keen on forming an outline before they start with the essay, and some are not even aware of it. Nonetheless, it can prove to be extremely useful. You can begin with the list of essential points to prepare for the structure. Presenting a story is the simplest and most perfect way Tips for Writing Scholarship Essay.

Assignment Help on :

A high-standard post with all imperative information about assignment help UK services. Looking forward to avail the premium services. Kindly visit AB Assignment Help.

Assignment help on :

I suggest all members choose assignment help Australia for the best guideline in your academia. The perfect and expert assistant your requirement and learning assignment project by the university.

Travel Technology Solution on :

Get the best online Travel Technology Company by the experts of teamindia Webdesign. They provide the best innovation as well as cost-effective solutions for technical approach for the b2b travel portal,b2c travel portal,airline system,API integration,hotel booking.

SEO Services Brampton on :

  1. Select your created site and double click on URL Rewrite.

  2. In the Actions Pane, click Add Rules.

  3. In the Add Rules dialogue, select Reverse Proxy.

  4. As the Inbound Rule Server Name, enter localhost:8080

  5. (assuming that Tomcat is running on the default port 8080). Leave all other settings as default.

Johan Rock on :

I want to thank you for sharing informative Content. I enjoyed this & got many benefits.

Academic Assignment Help on :

Hope you will keep on offering good content like this more often. I feel more and more people should know about this. Also, I agree on most of the points you have made. Finance Assignment Help

Zuhaz on :

Reverse proxy servers are used to load-stability a web server. Consider Google, you've got tens of millions of requests/second. No pc may want to handle all of the requests, but each request could be treated with the aid of a separate computer. An opposite proxy server will give the requests to a set of computer systems without the person having to recognize that they aren't contacting a person site.

Assignment help on :

I recommend that everyone should seek assistance from Assignment Help Australia for the best academic help. There are professional experts from various esteemed universities in almost every field. They are capable to write the premium quality of assignments according to the requirements of students and university norms.

Home on :

Great article about reverse proxy and url rewrite but I have a question . How would this reverse proxy setup affect an application that uses cookie authentication?

Dubai 2020 on :

Hello, I have browsed most of your posts. This post is probably where I got the most useful information for my research. Thanks for posting, we can see more on this. Are you aware of any other websites on this subject. dubai mall cinema

reading head start on :

Hello, juѕt wanted to mention, Ӏ loved this post. It was pгactical. Keep on posting!

numerologist review on :

What’s up, after reading this remarkable paragraph i am as well cheerful to share my familiarity here with colleagues.

mark edwards free energy on :

What’s up mates, good paragraph and pleasant arguments commented at this place, I am genuinely enjoying by these.

cinderella solution reviews on :

Fantastic goods from you, man. I have remember your stuff prior to and you’re simply extremely magnificent.

lost book of remedies scam on :

I really like what you’ve acquired here, really like what you’re saying and the way in which by which you say it.

Grabby Johan on :

The way you gracefully work I am so happy with you. Thanks for going by all the trouble and making them worth it. Congrats and greatest wishes for a hopeful future.

Assignment Help on :

We are continuous read all the information from related to your blog. Keep sharing this type of blog regularly. If you are looking for Assignment Help in the UAE, and you want to more information related to assignment help then you can contact us:- cs@livewebtutors.com

Alisajid on :

We offers best hotels in Makkah at discounted cost. We are offering chepeast rooms rates in Makkah

Graphic Design training in dhaka on :

Worked as a Senior SEO & Digital & Social Media & Graphics Design & cpa & Drop shipping & Video Editing And Youtube & Web Design And Development & Affiliate Marketing trainer at BITM (BASIS Institute of Technology & Management) since 2014-2018. Successfully completed 50+ SEO batches, 20+ Affiliate Marketing batches and 30+ workshop on Freelancing under SEIP (Skills for Employment Investment Program).

Up GSL on :

It is interesting what you guys are doing

Assignment help UK on :

Those people, who want to learn about proxy usage, they can get authentic information from your ideas. Because you shared helpful ideas about proxy. I think, your post will be gone on viral due to its good content.

Assignment Help on :

Get complete homework without even writing a single word via Assignment Help services. Browse the services and make your project submission before the due dates.

Finance Assignment Help on :

Academic Assignments is a leading company where you can get the best Finance Assignment Help at an affordable price.

Thesis Editing Service on :

Complete your thesis by the help of our Thesis Editing Service by Academic Assignments an Assignment Writing Service at an affordable price.

Cyberpunk 2077 Costume on :

So all the educators iv seen till now were simply making this idea more troublesome than its expected to be..amazing clarification man..

Essay writing services on :

This is one of the best post. I appreciate it and I will recommend that you should share some more informative posts so that every person can increase his knowledge and general ability.

Travel API Integration on :

Thanks for this vital information through your website. I would like to thank you for the efforts you had made for writing this awesome article.

pesh on :

My friend promised to buy me a cup of coffee for referring him to your site. Thank you for coffee. Kindly keep updating us on new articles. These days, the most common pump for a shallow well is a jet pump. Jet pumps get mounted above the well, either in the home or in a good house, and draw the water up from the well through suction. Visit Shallow Well Jet Pump with Pressure Tank for more.

Silky on :

"Excellent site you have here.. It's hard to find high-quality writing like yours these days. I truly appreciate people like you! Take care!!"

Andrew on :

Your posts are really different from others.It contains good blogs Thank you for sharing really informative blogs.

Margie on :

Your site contains informative,knowledgeable,shareable and readable posts

content writing services on :

The functions include, the maintenance and configuration of network systems, backup and recovery options, the integration and upgrading of various software’s in the system and also installation of various necessary program are key functional roles of the maintenance system administrator. content writing services

takelarge789 on :

the instagram++ is the one of the best

ios,android App tutuapp store to get the tons of free app

and game. youtube++ apk Here the latest version of

TutuApp of free.Many time game and update spotify++

so they are not running tutuapp is also update a app in new feature so downloaad a many app so and check on

tutuapp

john carter on :

Decent post thank's for sharing this data

See more on :

Amazing trick, this guide saved my day. Thanks for sharing!

Dissertation writing services on :

You shared a nice post on proxy. If you have not access of any website, you can use proxy and open that website. This trick is very useful for us. Thanks for sharing this idea with us.

sammy on :

Thank you for bringing to a halt my long search topic. I really benefited from your content. If you are experiencing trouble striking a balance between your busy academic life and handling your online classes, you can get help from a professional who will take online classes on your behalf. It doesn’t matter the kind of help you need, whether it is passing your exam, finishing your assignments or even the entire classwork, you can get help here at Online Class Help .

Assignment Help on :

I really love this blog, you have written your content in a very professional and accurate manner. This is something that I really want to see once again. Many thanks for sharing.

Dissertation writing services on :

I think, proxy is a good invention and through proxy, we can get access to the ban countries. Some, people think that through proxy, we can lose our data but it is not true. Proxy works safely and you can use proxy without any fear.

Buy assignment online on :

Whenever your professor assigns you problematic assignment writing thus you easily rooted with the experts of Writing Yard. Since we have professionals who fulfill your orders as your requirements.

Yeh Rishta Kya Kehlata Hai all Episodes on :

Khatron Ke Khiladi is all set to come up with the new season very soon. based television reality show has completed their 9th season successfully.

Yeh Rishta Kya Kehlata Hai All Episodes

Essay writing service on :

Some people face different issue while browsing websites because some website owners block their website's presence in specific county. For this purpose, we can use proxy and solve this issue because through proxy, we can get access to open any blocked website.

Violet Noise on :

We are tied directly into the sate’s renewal database which allows us to process your request almost instantly.

Ishq Mein Marjawan 2 Watch Online on :

Nazar is a Hindi language Indian Television serial on Star Plus of 2018. This tv serial features Hotstar Cast and Crew

Ishq Mein Marjawan 2 Watch Online

hp.com/setup on :

Nice Post... I am a fresh user of HP printer and operating my printing machine for printing the documents properly. From a few days, my HP printer is not responding properly. When I go for applying a printing command to my HP printer, I am experiencing HP printer not working issue. This issue is very intricate for me. Even I have taken the quick support from hp.com/support, but nothing is helpful for me. Hence till now, I am experiencing this technical glitch. So please anyone can provide the quick solutions to resolve HP printer not working issue. support.hp.com www.hp.com/support www.support.hp.com

Assignment Provider on :

Independent living, doing part time job outside the campuses and daily attending universities all becomes tiresome for the students and by the end of the day they are left with no time or energy to focus on their allotted assignment. Moreover, foreign students are also faced with a common issue of fluency in English language.

My Assignment Help on :

The post is very insightful and seems to be all-encompassing because by reading through it I could learn a lot on the subject. My Assignment Help Au has been the Best My Assignment Help online services and within Australia and different countries ceaselessly.

buycollegeessay on :

get college essay assignment at cheapest price. we have a dedicated team of expersts are available at 24/7 customer support

How to earn bitcoin 2020 on :

Yes i am totally agreed with this article and i just want say that this article is very nice and very informative article.I will make sure to be reading your blog more. You made a good point but I can't help but wonder, what about the other side? !!!!!!Thanks

car title loans on :

Interesting topic for a blog. I have been searching the Internet for fun and came upon your website. Fabulous post. Thanks a ton for sharing your knowledge! It is great to see that some people still put in an effort into managing their websites. I'll be sure to check back again real soon.

leptitox reviews on :

Leptitox review is all about Leptitox supplements. According to Leptitox customer reviews, it is one of the best and safe way to reduce weight.

call tutors on :

Call Tutors is a one stop destination for all students who are looking for expert help in their Homework & Assignments, Programming, research papers, Business Plan & Presentations & more. Our aim is to deliver quality education and set up a new benchmark in the field of education. We have great minds and writers working with us as an expert in every subjects.

youwin on :

Developing the capacity and expertise of international cooperation, this is a very good forum that plays an important role in boosting the economy

Latest Naija songs on :

You make so many great points here that I read your article a couple of times. Your views are in accordance with my own for the most part. This is great content for your readers.

cheap corporate gifts singapore on :

This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free.

hp.com on :

HP devices are gaining popularity all over the world for its reliability. If you are an HP device user and getting technical issue with the device then go to hp.com to get complete solution.

mets starter jacket for sale on :

Wow it is such a nice article provide I am so glad very unique and informative article post keep doing a great job

nero coat on :

I really like your blogging skills

dean winchester jacket on :

I wanted to thank you for this excellent read!! I certainly loved every bit of it. I have you book-marked to look at new stuff you post…

Rahul Jangid on :

Awesome trick, you saved my day... it worked for me. Many thanks.

cipd on :

Thank you for sharing such a golden information will be your regular visitor. There are a number of steps that you ought to take in order to write a top quality CIPD assignment. The first step is to thoroughly go through the issued instructions. Course instructors normally give students clear instructions that are supposed to guide them when working on their CIPD assignments. Visit on CIPD Exam Writers for more

Academic Writing Services on :

We assure students that our skilled and professional writers at the best academic writing help the whole writing by carrying out an in-depth study.

James Wells on :

Thanks for this tutorial. Clearly written with step by step directions. Thanks! www.fargoroofingpros.com

Roofing Company on :

Thanks for this tutorial. Clearly written with step by step directions. Thanks!

ATT Email Support on :

I loved reading this post. Thanks for the exceptionally instructive and simple to follow guide. ATT Email Support is a customer care helpline that is offered by one of the world's best ATT Mail Technical service providers. We provide solutions for ATT Email Problems. For more info ATT Email. To know more about the AT&T Email site. http://www.email-customer-care.com/att-support

assignment help on :

Hello there, great stuff you’ve shared here I will be checking regularly for more articles. But wait! When it becomes hard to manage your online assignment, availing Online Assignment Help is the best choice. Many students often fail to submit their assignment before deadlines and end up scoring low grades because they didn’t have enough time to write the assignment given on time and satisfactorily. Visit Assignment Help . for assistance.

Kevin Peterson on :

This is the first time that I visit here. I found so many exciting matters in this particular blog, One thing I would like to request you that pls keep posting such type of informative blog.

Top Gun Jacket on :

I appreciate this blog your blog is vert help full for me i really enjoyed this stuff dude.

Pasco, WA on :

Thanks for this information, It was very helpful!!

detectives malaga on :

Trying to say thanks won't simply be adequate, for the fantasti c clarity in your written work. I will immediately snatch your rss channel to remain educated of any updates.

Death Stranding Jacket on :

Thank you so much i want to appreciate this amazing stuff i really like this stuff keep it up dear

Domystats on :

Thanks for sharing this educated blog with us, genuinely an incredibly informative website. It is useful for us.

Wedoyouraccountingclass on :

Excellent article. Thank you so much for sharing. Get a better grade on the assignment to visit us at...

HP LaserJet P1102w on :

Nice Post... I am using HP LaserJet p1102w for completing printing tasks, when I need it. I prefer HP LaserJet p1102w printer because of its quality performance, advanced features, and better functions. So I am totally dependent on this printing machine, so I like it very much. While working on it, my HP LaserJet P1102w printer has stopped working. I am facing this issue from a long period, so now I want to take instant help from trained experts. So please share easy tips for fixing this error as soon as possible.

printer not printing in color on :

Printer finds it application in school, offices and colleges for printing purpose. If your printer not printing in color or not working well then you can solve your problem by following these easy steps: ● Click on the “Start” button. ● Then open “Devices and Printers” available on the Start menu. ● Right-click on the name of the printer that you want to use. ● After that click on “Printing Preferences”. ● Choose your device and then click “OK”. ● After this you will get an option to print color with color options mentioned over it. ● Choose the colors and press “OK”. And now your printer is ready to print in color.https://www.hpprintersupportpro.com/blog/fix-printer-not-printing-color-issue/

lee qeen on :

These guys are doing a good job with the marketing breeze I like your people my reviews 10/10

Canon printer in error state on :

We are the best reliable, successful, and independent third party tech support provider, which is providing the excellent technical support services for canon printer users. We have the technical capability to deal with minor and major technical problems associated to canon printer. We work 24 hour with our live technical professionals to provide the permanent resolutions for all types of issues related to canon printer. If you are hardly experiencing canon printer in error state, you can call our certified technical professionals to resolve this technical issue. This technical issue occurs when you upgrade your previous version to the latest version. So you can take online support from our trained technical experts.

email login on :

I hope to see more updates from you, this is what I need to find.

192.168.l.254 on :

Hallo! Es tut mir leid, das ist nicht das Thema! Ich mag Ihr Forum wirklich! Vielen Dank, ich bin mit dir)

Bigg Boss 14 All Episodes on :

After Bigg Boss 13 new season Bigg Boss 14 is just going to start in October 2020 doors for the commoners with only a few celebrities being part of it.

Online Airline Reservation System by Experts of TPO on :

Airline Reservation System is the best way to make your travel more popular among the travelers. Travelportalonline offers the error-free Airline Reservation System and Airline API integration system to the travel agents at the best price.

Recommendation deck & fencing on :

Wow, I'm surprise that this is possible. Thanks for sharing and please don't forget to visit the most recommended deck & fencing in Littleton, CO.

Kirk Fuller on :

Pittsburgh Concrete Contractors 600 Forbes Ave, Pittsburgh, PA 15219 412-693-6640

Taylor Hearn on :

Plano Concrete Contractors 1820 Cottonwood Road, Carrollton TX 75006 469-804-9777

Add Comment

You can use [geshi lang=lang_name [,ln={y|n}]][/geshi] tags to embed source code snippets.
Markdown format allowed
Form options