Link to home
Start Free TrialLog in
Avatar of rpierce1373
rpierce1373Flag for United States of America

asked on

Assign a subdomain to a specific IP address and port number

Here's what I have:  2 servers listening on RDP.  One is set for port 3389 (default) the other is set for 3390.  I can put the IP addres:port # and get to them fine.

What I want to do is have the following mapped to them:

ts.somename.org = xxx.xxx.xxx.xxx
ts1.somename.org=xxx.xxx.xxx.xxx:3390

Obviously, the ts one is just an additional A record added to DNS, but how do I do the TS1?
ASKER CERTIFIED SOLUTION
Avatar of Chris Dent
Chris Dent
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of gcl_hk
gcl_hk

As above saying, the DNS record is not involed about the port number. But I'm not sure the RDP client program able to specified a port number or not.
If yes, you just set a port forwarding on the firewall, and forward the specified port to different host, it should be work already.
If not, you must have two true IP address, and use NAT to forward different WAN IP to specified host, and no need to modify the default port number of RDP