Solved

Forward external web traffic to internal web server based on URL?

Posted on 2013-12-10
4
515 Views
Last Modified: 2013-12-15
I have two websites which are hosted externally:-

contoso.com
tradewinds.com

I have two internal IIS servers:-

contoso.local
tradewinds.local

I have a working A record for subdomain.contoso.com - the IP address is the static IP of my broadband router. This router is forwarding port 80 to the IP address of contoso.local

My question is this. I want to now have an A record for subdomain.tradewinds.com, but traffic to this should be forwarded to tradewinds.local which of course is behind the same public IP on the same router.

What's the easiest way to do this, without the need for an additional public IP on my router.
0
Comment
Question by:Chris Millard
  • 2
  • 2
4 Comments
 
LVL 22

Expert Comment

by:Matt V
ID: 39709580
The only way to do this would be with a reverse proxy.  You would need this box inside and route port 80 to that box.  The reverse proxy could then determine which host to send the domain traffic to.
0
 
LVL 17

Accepted Solution

by:
Chris Millard earned 0 total points
ID: 39709587
Actually I found an easier way to do it. My hosting company allows redirects, so what I did was open port 8080 on my router and forwarded it to tradewinds.local on port 80, and at my web hosting end I created a redirect for subdomain.tradewinds.com to go to myip:8080
0
 
LVL 22

Expert Comment

by:Matt V
ID: 39709645
That would also work.  So your hosting company is doing the reverse proxy in this case.
0
 
LVL 17

Author Closing Comment

by:Chris Millard
ID: 39719758
I found my own solution to the question
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Problem Description:   Couple of months ago we upgraded the ADSL line at our branch office from Home to Business line. The purpose of transforming the service to have static public IP’s. We were in need for public IP’s to publish our web resour…
Getting hacked is no longer a matter or "if you get hacked" — the 2016 cyber threat landscape is now titled "when you get hacked." When it happens — will you be proactive, or reactive?
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now