Computing.Net > Forums > Windows Server 2003 > dns/ip port routing ?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

dns/ip port routing ?

Reply to Message Icon

Name: osuhizzy
Date: December 30, 2004 at 16:46:40 Pacific
OS: W2K3 Ent
CPU/Ram: P4/512Mb
Comment:

I am starting to play around with Win2k3 server, and I have a question regarding the DNS functions... I am wondering if the following setup will work.

1. I would like to have my .com name forwarded to my server running DNS.. at that point i can easily setup up subdomains and route via the server to other boxes on the LAN. ie. (mark.xx.com, www.xx.com, etc.)
2. I would the like to route another subdomain to external IP, such as dad.xx.com ---> routed to my parents computer in another city.. I think that these two are possible..

3. is it possible to re-route the subdomains, and include the IP PORTS also..
example...
Route pics.xx.com ----> port 80 on external ip 200.0.0.1:80
and then files.xx.com -----> port 8080 on external ip 200.0.0.1:8080

this setup would be to use my domain and route it to two separate websites or functions on an external box.

I you could give me an help, or even just a place to look for help, i'd appreciate it. I've taken one of my old boxes and created a server, and using the winter time to "teach myself" some of the OS. T
Thanks alot.
Mark



Sponsored Link
Ads by Google

Response Number 1
Name: gebjohn
Date: January 1, 2005 at 05:56:52 Pacific
Reply:

**************
In order to have the domain information forwarded you must have a static IP address. If you have this then you can start the fun!

**************
I think the best way that I can think of to do this is to have an IP for each site that you wish to host. One machine and adapter can have multiple addresses assigned to it. Then in the webserver setup, you can set it to run only on a particular address:

Say you gave your machine the IPs

200.0.0.1 and 200.0.0.2

Then you host one site on each IP

your DNS then looks a bit like this:

Route pics.xx.com ----> port 80 on external ip 200.0.0.1
and then files.xx.com -----> port 80 on external ip 200.0.0.2

**************
Alternatively,
Point all subdomains at the same IP and the same port. Then at the possition that they point, use a bit of scripting to work out which subdomain they want (from the URL) and redirect the page to the relevant IP and port. You can use a frameset to avoid the URL in the address bar changing (otherwise it looks tacky). This is a bit easier because you don't need multiple IPs which some ISPs get funny about.

***********
OR (AND THIS IS THE IDEAL WAY!!!)
You can probably get some software that does this for you:

I've never seen an IIS feature that will do this (but the function probably is there - does anybody know about it?)

However, Apache server will do it - you can set VirtualHost lines in the httpd.conf file and redirect diferent subdomains pointed at hte same IP and port to different directories - it's brilliant


0

Response Number 2
Name: jefro
Date: January 1, 2005 at 08:49:23 Pacific
Reply:

Also almost every bit of needed info is at the technet site.
http://www.microsoft.com/technet/prodtechnol/windowsserver2003/serverroles/dnsserver/default.mspx


0

Response Number 3
Name: Curt R
Date: January 1, 2005 at 08:53:14 Pacific
Reply:

Certainly IIS can do that. One uses "host headers" to allow multiple web sites (with separate IP addresses) to be hosted on one server that has only one external IP address. I'm not a professional with IIS by any means, but I know enough about it to know that it is capable of the above.

I must say though, I'm a little confused by the original post. It seems like a whole lot of extra work. You could have one domain for your web site that is external to your internal domain. Dad doesn't need a separate subdomain....he could simply be setup as a remote site in the internal domain....unless you're talking about setting up separate web sites which really is a different subject than domains/subdomains really.


0

Response Number 4
Name: damler
Date: January 11, 2005 at 10:58:06 Pacific
Reply:

Host headers work perfect, provided u have one external ip and address and ine internal ip add, where u an host multiple sites with "hostheaders"

cheers

damler

cheers
Damler


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Default Printer Issues Help with file and printe...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows Server 2003 Forum Home


Sponsored links

Ads by Google


Results for: dns/ip port routing ?

DNS Forwarding and Routing www.computing.net/answers/windows-2003/dns-forwarding-and-routing/4490.html

Printer move around on TCP/IP ports www.computing.net/answers/windows-2003/printer-move-around-on-tcpip-ports/6554.html

HP Standard TCP IP port www.computing.net/answers/windows-2003/hp-standard-tcp-ip-port/8085.html