Solved

Port Forwarding

Posted on 2006-10-25
9
304 Views
Last Modified: 2010-03-19
I have a NAT router and windows server 2003 box with DNS after the router.  The server handles all websites and DNS with port 80 forwarded to it.  Is it possible to add a second server with other websites and put another forward lookup zone on the first server to redirect web requests to the second new server?
0
Comment
Question by:firemanrob
  • 2
  • 2
  • 2
  • +1
9 Comments
 
LVL 25

Expert Comment

by:mikeleebrla
ID: 17808419
wow,,,i'm not really sure where to start with this one. You are throwing a bunch of terms out there and i'm not sure you understand them (no offence).

1.  how many PUBLIC IPs do you have?
2.  what kind of NAT router do you have?
>>The server handles all websites and DNS with port 80 forwarded to it.

if it hosts your public DNS, it will have to have port 53 forwarded to it as well, but what do you mean by it handles 'all' websites? do you mean that server is the DNS server server that all your clients are pointed to? Do you mean that this server hosts ALL websites that you host? or what?


>>Is it possible to add a second server with other websites and put another forward lookup zone on the first server to redirect web requests to the second new server?

this is the statement that has me really confused....forward DNS lookup zones do NOT redirect web requests.  Forward lookup zones respond to DNS queries: thats it, nothing more.  IE a request for www.yourdomain.com will return to the client the IP (in the forward lookup zone) for www.youdomain.com IE 88.3.2.1.  Then the DNS client will look to 88.3.2.1 to find www.yourdomain.com, thats it.  A forward lookup zone cannot redirect, but it does DIRECT.

If you want some of the websites that you host to be DIRECTED to another server, just edit the PUBLIC DNS record for those websites to point to the PUBLIC IP of another web server.

0
 
LVL 3

Expert Comment

by:mahe2000
ID: 17809082
i'm not sure if something can do what you want. however i think that a third server (or one of the existing ones) with a reverse proxy can help you to solve the problem
0
 

Author Comment

by:firemanrob
ID: 17809215
Mike,

No offense taken.  I have one public IP supplies by a cable internet provider.  From the cable modem I have a D-link 4-port router with port 80 forwarded to my server1.  Server1 hosts my websites as well as internal DNS.  I guess what I'm looking to do is have all website A-records go to that one public IP.  It would then get forwarded to my server1 which currently hosts internal DNS and all of my websites.  Id like to create a new forward lookup zone on the internal dns to redirect a website request to another server.  

Example:

 www.mysite1.com:80---->MyPublicIP--->Router-->192.168.0.104(Server1)---->InternalDNS---->IISServer1

But what I'd like to do:

www.mysite2.com:80---->MyPublicIP--->Router-->192.168.0.104(Server1)---->InternalDNS---->IISServer2

Does that make sense?
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
LVL 43

Accepted Solution

by:
Steve Knight earned 250 total points
ID: 17809394
That's not how it works.  As has suggested above you either need a reverse proxy in the middle, e.g. ISA server can redirect to different servers based on URL or most easily a second public IP address which your router then forwards to server2.  The public dns for that server would then point to the new ip.

Your internal dns does not come into this at all really apart from your own internal access to these sites (as you probably can't get to the external side of your router from inside the network you probably haved touse the internal address.

Another way would be to use different ports, e.g. port 81 on your public IP and forward it through router to server2.  This is messy though as the url is then www.yoursite.com:81 and this may not be accessible to people on networks behind firewalls and proxy servers (i.e. most people, especially corporates)

Steve
0
 

Author Comment

by:firemanrob
ID: 17809478
ok makes sense.  I am only familiar with home network routers that support one WAN IP.  Where can I check out routers that can obtain multiple WAN IP's like this would need?
0
 
LVL 43

Expert Comment

by:Steve Knight
ID: 17809554
Sorry my knowledge of cable connections is nil as I have always had ADSL and cable doesn't get used by businesses normally in th uk.  Does the modem present a standard ethernet cable connection for starters?

If so pretty well any small dual ethernet interface Cisco router would do the trick.  What do you have at the moment?
0
 
LVL 3

Assisted Solution

by:mahe2000
mahe2000 earned 250 total points
ID: 17811331
To handle multiples IPs you can use a small firewall like cisco pix 501 at not a high coast and that will help you with improving your security too.
0

Featured Post

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Cisco 3650 switch 7 45
OSPF - Convergence & Downtime 9 37
How Can i get Two 3-User licenses of Quickbooks to work??? 6 53
VPN Server 5 14
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
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…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

828 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