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 have a centos box from linode and I have set the /etc/hosts /etc/sysconfig/network and /etc/resolv.conf to only one domain.

Is it okay to host multiple domains on the same machine, while only one domain is configured with the above?

For example if I have as the main domain, and have a few vhosts under apache and is this still a correct setup?

Also I found Should I use it for my domain? Is it good to use an external DNS instead of my registrars DNS?

share|improve this question
up vote 1 down vote accepted

There's nothing in the OS that would cause that setup to be wrong. Whatever software you're using to provide services on those domain names might require that some of those local services know about the other domains. Without knowing what software that might be, there's no way for us to answer.

share|improve this answer
phpbb mainly. I do wonder how reseller servers handle multiple domains though. I'm not a reseller but I do host 3 forums on the same server. – Kyle May 5 '12 at 0:33

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.