Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 441
  • Last Modified:

DNS resolution w/port forwarding on local network

I want to have a DNS name resolve not just to an IP address, but also a specific port.  What options do I have to accomplish this?

Thanks.
0
SimmerDown
Asked:
SimmerDown
  • 3
  • 2
1 Solution
 
infotraderCommented:
This is not a function of the DNS server.  DNS servers are not port-specific.

However, if you purchase one of those high-end routers that allows http header translation, you might be able to use that.  For example:

if you have www.abc.com and www.xyz.com both pointing to 1.2.3.4, and you put an ISA server, for example on that IP as the firewall.  Have ISA make a rule that says "if users are asking for www.abc.com", then forward request to 192.168.1.1, but if users are asking for "www.xyz.com", then forward the requests to 192.168.1.2:90

Or even IIS can resolve headers (but not ports).  Another work-around is to have an IIS server resolve both www.zbc.com and www.xyz.com.  When users reach www.xyz.com, use the forward rule on IIS to point back to www.xyz.com:90.

- info
0
 
Netman66Commented:
What service are you looking to find?

If it's simply a matter of trying to host multiple websites on the same server you can use Host Headers within IIS to determine what site to send the request to - there is  no need for ports.

If it's for FTP, then assign ports in ISM and have the port in the address line.

0
 
SimmerDownAuthor Commented:
Netman66,

That is exactly what I'm trying to do.  I looked in IIS for something like that and was unable to find it.  Where should I be looking?
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
infotraderCommented:
Isn't that what I said on my very last paragraph?  LOL  Here's the skinny:

1.  Go to the "Properties" of the website you just created (i.e. Default Website, etc.)
2.  Under the "Website" tab, click on the "Advanced" tab.
3.  you'll see some options there allowing you to add the "Host Header Value"
4.  Click on Add
5.  Select the IP address (in this case, probably leave it as "All Unassigned"), the port number (If you just want to host multiple sites, you can probably just leave them ALL at port 80), and the "Host Header", which is where you type in what you'd like others to type to get to this website.
6.  That's it.

For example, if I create a new site called xyz.com, I'd probably go to the properties page, go to the Advnaced tab, add an entry for "www.xyz.com", and possibly another called "xyz.com"... So... this means that the ONLY people that can get into this site are the ones that typed either "www.xyz.com" or "xyz.com".  They can't even get into the site by typing http://<IP Address> anymore.

- Info
0
 
SimmerDownAuthor Commented:
Sorry info...you did say that, I was reading too fast.  Thanks.  It appears to be working.
0
 
infotraderCommented:
No problem.  I was just teasing.  Netman explains it much better anyway :-)

Thanks for the points.

- Info
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now