Solved

DNS resolution w/port forwarding on local network

Posted on 2004-03-24
6
431 Views
Last Modified: 2010-03-18
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
Comment
Question by:SimmerDown
  • 3
  • 2
6 Comments
 
LVL 11

Expert Comment

by:infotrader
ID: 10671096
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
 
LVL 51

Expert Comment

by:Netman66
ID: 10671383
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
 

Author Comment

by:SimmerDown
ID: 10674638
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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 11

Accepted Solution

by:
infotrader earned 100 total points
ID: 10674671
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
 

Author Comment

by:SimmerDown
ID: 10675693
Sorry info...you did say that, I was reading too fast.  Thanks.  It appears to be working.
0
 
LVL 11

Expert Comment

by:infotrader
ID: 10675715
No problem.  I was just teasing.  Netman explains it much better anyway :-)

Thanks for the points.

- Info
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Trying to figure out group policy inheritance and which settings apply where can be a chore.  Here's a very simple summary I've written which might help.  Keep in mind, this is just a high-level conceptual overview where I try to avoid getting bogge…
Resolve DNS query failed errors for Exchange
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.

803 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