Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm working on a project where people can sign up and have multiple shops for themselves. Let's consider that Mark signed up to our site and created a shop for himself:

Now, mark wants to map a domain called to

How do I go about this in Windows Server 2008 R2?

share|improve this question
up vote 1 down vote accepted

That would be a simple "CNAME" record in DNS. A CNAME record is an alias of an "A" record. An A record is a host to ip mapping.

So in your case, the following would be true:

A Record would be "" = (just an example) CNAME Record would be "" =

Now I will say, typically your main domain (zone) would be an A record, so in this case should probably be an A record that points to and then should alias to (CNAME record), but i think you might be able to get away with a CNAME depending on your DNS setup.

share|improve this answer
He will, however, also have to tell you that he's using that domain and you'll have to configure that in your server. Otherwise, when you get requests for host "", you'll have no way to know you should serve the web pages for "". – David Schwartz Mar 28 '12 at 1:03
Good point, so you're basically saying he'll need host headers configured in IIS. – Eric C. Singer Mar 28 '12 at 13:34
thank you . that helped a lot . – Ali Shokrollahi Mar 28 '12 at 16:40

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.