Solved

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

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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
HTTPSendRequest with WinINet delays on first call 11 84
Help with mod_substitute 18 44
Windows Server Essentials 2016 Dropping Mapped Drives 10 42
SSL-VPN 1 53
The Cisco RV042 router is a popular small network interfacing device that is often used as an internet gateway. Network administrators need to get at the management interface to make settings, change passwords, etc. This access is generally done usi…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
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…

730 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