Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
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:8080this 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

**************
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

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

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.

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

![]() |
Default Printer Issues
|
Help with file and printe...
|

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