Webmasters Stack Exchange is a question and answer site for pro webmasters. 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 setting up a web hosting on my VPS, I want to host several websites on my vps, I have two domains, domain1.com and domain2.com and a website for each hosted on iis, I know that I should add these host names to my dns. I have a zone named domain1.com, when I want to add domain2.com as new host it will automatically set FQDN to domain2.com.domain1.com How should I config my DNS? Thanks for your help.

share|improve this question

migrated from superuser.com May 18 '13 at 11:01

This question came from our site for computer enthusiasts and power users.

up vote 1 down vote accepted

You need a separate zone for each domain.

Here are some instructions from one web host on how to do it. The process should be similar on any web host.

To host multiple domain names on a single server, create a separate domain zone for each domain name... At a minimum, you'll need an A record for each domain name pointing to the server's IP address.

share|improve this answer
But if I create a zone for each domain, is it possible to set each domain's name server to one name server like ns1.mydomain.com? – Vahid Naderi May 18 '13 at 13:23
Your zones can all be hosted on the same domain name server. – Stephen Ostermiller May 18 '13 at 15:34

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.