Use 2 separate servers on LAMP

Discussion in 'Server Operation' started by iflymyhelishigh, Jan 9, 2010.

  1. iflymyhelishigh

    iflymyhelishigh New Member

    Hey guys. I'm currently running 1 single server for my LAMP system. I want to separate the system into a LAM on 1 server and LPD on the other. In other words, the mail server and the DNS server is on the first server, and the Apache and MySQL is on the other.

    Now, the question is, how the flip do I do this?

    Is it possible to point my DNS to a completely different IP?

    Will this take up Bandwidth on both or will my site be served by the LAM server?
     
  2. falko

    falko Super Moderator Howtoforge Staff

    If the mail server is on a different system, you must change the MX record so that it points to that system.
     
  3. iflymyhelishigh

    iflymyhelishigh New Member

    Alright, do I need to set up BIND9 again on the second server?
     
  4. falko

    falko Super Moderator Howtoforge Staff

    That depends on what name servers are authoritative for your domain. You can find out the authoritative name servers like this:
    Code:
    dig ns yourdomain.com
     
  5. iflymyhelishigh

    iflymyhelishigh New Member

    They're my nameservers.

    ns1.mydomain.com
    ns2.mydomain.com

    serves mydomain.com
     
  6. falko

    falko Super Moderator Howtoforge Staff

    If you want to move ns1 or ns2 to the second server, you need to set up a nameserver there (e.g. BIND, MyDNS, etc.).
     
  7. iflymyhelishigh

    iflymyhelishigh New Member

    Can I set up a ispcp cluster with ip addresses? How much bandwidth does it use?
     

Share This Page