HAproxy or DNS for having more web servers in multiserver setup?

Discussion in 'Server Operation' started by Samo_slo, Aug 1, 2016.

  1. Samo_slo

    Samo_slo Member

    My question is if one has a multiserver setup as described in
    https://www.howtoforge.com/multiser...se-servers-on-debian-squeeze-with-ispconfig-3
    and wants to add more web servers. For example the web server is running low on disk space and you add a new slave server for new websites with new private IP (not public).
    How can you ruote traffic to that slave server?
    Can one just use the Server IP in ISPConfig 3 System -> Server IP address and select that for the new website you create?
    Can one route traffic with the DNS records to point the domain to te private IPs (new to DNS so sory if stupid question)?
    Or does one need to make a server with HAproxy and use it to route to new server IP?

    OFF TOPIC
    If one can do it with the DNS or the Server IP can the router be set to open ports form the same public IP to two different private IPs for same ports?
     

Share This Page