Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2013-12-10
4
Medium Priority
?
523 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Q2 2017 - Latest Malware & Internet Attacks

WatchGuard’s Threat Lab is a group of dedicated threat researchers committed to helping you stay ahead of the bad guys by providing in-depth analysis of the top security threats to your network.  Check out our latest Quarterly Internet Security Report!

Question has a verified solution.

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

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?
Resolve DNS query failed errors for Exchange
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…
Suggested Courses

636 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