Solved

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

Posted on 2013-12-10
4
513 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Tired of waiting for your show or movie to load?  Are buffering issues a constant problem with your internet connection?  Check this article out to see if these simple adjustments are the solution for you.
Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
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…

708 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

12 Experts available now in Live!

Get 1:1 Help Now