Forum Moderators: open

Message Too Old, No Replies

Creating dot com subdomains on remote DNS and Win2000 server

How involved is this?

         

Webwork

2:51 pm on Oct 27, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



I would like to create [UK.XYZDomain.com...] [Mexico.XYZDomain.com...] I've never done this before.

I run a colo Win2000 server that relies on my colo hosts DNS servers, so do I ask the host to create a DNS entry for UK.XYZDomain.com? If so, any related DNS issues that might catch me by surprise?

On my Win2000 colo server I'm using host headers and a single IP address for multiple domains, so how would I set up the subdomain?

Do I go through the standard Win2000 procedure to create a new virtual directory that responds to uk.xyzdomain.com www.uk.xyzdomain.com?

Thanks for any help.

wardbekker

3:04 pm on Oct 27, 2003 (gmt 0)

10+ Year Member



Subdomains can be configured in iis. Just specify the accepted host headers.

If you want the user to use the same web-application, but with settings based on a specific entry point, point all possible host headers to the same web-app in IIS and detect the current host header from within your code. Based on the outcome of the detection, you can 'personalize' your web-app

Good luck!

Webwork

3:35 pm on Oct 27, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Thanks Ward.

I'm left with the question: Is there anything that needs to be set up in the co-lo hosts DNS?

Do you know if http requests simply resolve to the DNS for XYZDomaina.com and then, routing to the subdomain is simply handled at the IIS level, as if a sub-domain is "the same" as a sub-directory?

wardbekker

3:50 pm on Oct 27, 2003 (gmt 0)

10+ Year Member



I'm not sure, but i think you don't need to change any DNS settings. But i recommend to test it first ;-)

plumsauce

5:08 am on Oct 28, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You must have the subdomains listed as hosts in
your zone. Although you can use wildcard entries.

Thus, for example.com, you would normally have:

host record = example.com
alias record = www = example.com

now you want to add:

alias record = web2= example.com

or

alias record = sub.web2= example.com

all of the above are silly examples,
your names will be something else.

Your other alternative if you are talking:
a.b.example.com

is to do a sub-delegation.

You will know that the dns setup is correct
when you can ping it by the new name.

added:

the reason you need to do this is that the
client needs to be able to translate the
name into an ip address.

++++