Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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 hostname.mydomain.com as the main domain, and have a few vhosts under apache somedomain.com and somedomain42.com is this still a correct setup?

Also I found http://freedns.afraid.org/. Should I use it for my domain? Is it good to use an external DNS instead of my registrars DNS?

share|improve this question

1 Answer 1

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

 
discard

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.