55 pts.
 DNS server
i need to have multiple servers on one ip. how would i achive that say by dns or something so that each server is accessible by the same port. for example Server1: mydomain.com -> local 192.168.1.12 Server2: s2.mydomain.com -> local 192.168.1.13 is this possible by windows dns or linux, any method really would help.

Software/Hardware used:
i7 3930k server, NO os 32GB ram
ASKED: September 4, 2012  4:08 AM

Answer Wiki:
Last Wiki Answer Submitted:  Be the first to answer this question.
All Answer Wiki Contributors:  Be the first to answer this question.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

Just assign multiple IP addresses to your system. That generally isn’t a problem. Just about every network adapter will allow multiple addresses: multi-homing. — Tom

 110,115 pts.

 

Do you mean – external access to a single IP but behind the firewall there are three servers?This is a Network Address Translation (NAT) address

 10,635 pts.

 

One router, one WAN IP. multiple servers behind a firewall on same portsfor example two webservers

 55 pts.

 

If they must be on the same port numbers, then you need to assign a different IP address for each one. Multi-home the adapter. — Tom

 110,115 pts.

 

Multi-home the adapter???

 55 pts.

 

First, if they’re going to be using the same port, they can’t have the same IP. (Well, that’s not totally correct; but if you’re not familiar with multi-homing, it will be much harder to implement the sockets programming that would be required to manage the packets and essentially proxy them to the underlying processes.)
 
So, you need to use two IPs for the adaptor. With Windows, it can take some poking around to get it done unless you have utilities that can do it for you. See Configure TCP/IP to use DHCP and a Static IP Address at the Same Time for one description of how to add IP addresses for an adaptor.
 
But re-reading your question makes the actual requirement unclear. Under ‘Software/Hardware used:’, you had ”NO os”. Does that mean you have no OS on the box? What exactly are you trying to do?
 
Tom

 110,115 pts.