LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   DNS server & Apache on the same server (https://www.linuxquestions.org/questions/linux-newbie-8/dns-server-and-apache-on-the-same-server-208159/)

Vincent Ho 07-22-2004 01:21 AM

DNS server & Apache on the same server
 
Hi,

I was wondering if there are any potential problems in running DNS and Apache on the one server? Would it be adviseable to run them on separate machines? What are the Pros and Cons?

Any advice is appreciated.

btmiller 07-22-2004 01:40 AM

It's definitely doable, since I've done it and never had any particular problem. However, a lot of people don't like the idea since if one of the services gets broken into the attacker can easily mess with the other service. Quite a lot of people will probably tell you that you should only run one publicly available service (besides ssh) per machine, and that's probably good advice if you have the resources to get that set up. But you definitely can run Apache and BIND on the same machine.

Incidentally, if you are going to run multiple services on the same machine you probably should consider running each in a chroot jail so if something goes wrong with one service it's harder (though not completely impossible) for it to affect the other service.


All times are GMT -5. The time now is 12:07 AM.