Solved

Port Forwarding

Posted on 2006-10-25
9
308 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
[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
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

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

If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
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…

739 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