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 want to setup what I think is DNS on my CentOS 64bit server, so I could start setting up websites on my server.

How do I setup DNS, and then how do I setup multiple websites on that server?

I know I need DNS, and VirtualHosts with apache, but I don't know how to set it up? Is there a free control panel that I can instlal that can do this?


How do I install DNS on centos, so that it works with having virtualhosts or whatever so I can host multiple websites

Sorry for the confusion!

Thank you!

share|improve this question
Are you sure you want to manage these things yourself or just pay for cheap web hosting? These are not simple tasks with short or simple answers. – John Dec 6 '10 at 21:26
Even if you do want to host the web sites, you probably really don't want to host DNS, since most domain name registrars now provide that for free as a basic service included with your annual domain name fee. – mattdm Dec 6 '10 at 21:38
up vote 0 down vote accepted

you need to install bind via yum for dns for web sites depends what you need but generally you need

apache( httpd) php mysql php-mysql

all can be installed with yum

share|improve this answer

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.