ispconfig 3 multiserver

Discussion in 'Installation/Configuration' started by chief, Jul 18, 2018.

  1. chief

    chief Member HowtoForge Supporter

    I am attempting to install ispconfig3 in multiserver environment. I have web server with control panel, database server, mail server, dns1 and dns 2 server - 5 servers in total.
    I started following the manual but it is written for debian 8, the perfect server debian 9 is doing everything on 1 server. so, my question is do i just follow the installer for debian 9 and ignore everything for email, dns and database?
    as i have questions like:
    step 8 of https://www.howtoforge.com/tutorial...-9-stretch-apache-bind-dovecot-ispconfig-3-1/ has me installing postfix, mysql, rkhunter etc, do i ignore everything except rkhunter, binutils etc?
    step 9 is for spamassasin and amavisd-new, is this just for the mail server?

    so, can i have a precise step explanation or a heads up please

    cheers
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Follow the manual for multiserver parts of the setup, and Perfect Server Guide Stretch when apt-get installing or editing configurations. It is doable, hop between the two docoments.
     
  3. chief

    chief Member HowtoForge Supporter

    just throwing it out there.. night mare.
    if i compile it together, could you double check it for me?
     
  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Last time I did the multiserver installation for Debian Gnu/Linux Stretch was 4 months ago, so my checking would be hit and miss. If you do write a proper guide for multiserver Ispconfig install with Debian Stretch, I try to contribute by reading and commenting.
    I think you see it as harder than it is. Try the install on practice setup first or prepare to do it a second or third time, and success is very likely.
     
  5. ztk.me

    ztk.me Well-Known Member HowtoForge Supporter

    setup ispconfig on server 1 as usual.
    make sure you can login as root and a given password using the remote ip to the database server .
    setup ispconfig in expert mode on server 2 and answer "shall server join ..." with yes
    after an easy Q/A it should be done. just did so a few days ago :)
     
    Last edited: Jul 19, 2018
  6. chief

    chief Member HowtoForge Supporter

  7. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    I believe this refers to MySQL, not shell, ie. make sure you can login to the first server from the second, using the root MySQL user. If you can't, refer to that section in the multi server guide to get it setup.
     
  8. chief

    chief Member HowtoForge Supporter

    thanks for that. So, are all servers a standard install? all requiring mysql, php etc? or do i need to be selective at any point.?
    I did install via manual route, but went wrong. will re attempt using standard setup until ispconfig install.
     
  9. ztk.me

    ztk.me Well-Known Member HowtoForge Supporter

    php / mysql is needed everywhere yes ; everything else should be optional. And yes I meant connection to the database server :)
     
  10. chief

    chief Member HowtoForge Supporter

    Thanks, getting a better feel for it now.
    ok, half way through the install mail.server again. this time will install php.
    oh, on web.server i didnt say satallite i stated standalone, how can i change this without starting again?
     
  11. ztk.me

    ztk.me Well-Known Member HowtoForge Supporter

    Code:
    dpkg-reconfigure postfix
    
     
  12. chief

    chief Member HowtoForge Supporter

    thank you.
    so. I chose these options, could you advise on step's below
    1. satellite system - next
    2. (system mail name) web.domain.com - next
    3. (smart relay) mail.domain.com - next
    4. (root and postmaster mail recipient) [email protected] - next
    5. (other destinations to accept main for) web.domain.com, localhost, localhost.localdomain - next (should i also put mail.domain.com here?)
    6. (force synchronous updates on mail queue) yes - next
    7. (local networks) 127.0.0.0/8 - next (as im setting up mail, web, db, ns1, ns1 not sure if i specify ip's of others)
    8. (mailbox size limit) 0 - next
    9. (local address extension character) + - next
    10. (internet protocol) ipv4 - next
     
  13. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Sometimes the option -plow is needed with dpkg-reconfigure to force it to show all the questions.
     
  14. chief

    chief Member HowtoForge Supporter

    thanks for all the information. I followed your sage advice and it seems to be running. I moved a domain over by changing the nameserver to my ns1 and ns2, i have added it to the control panel and can verify i have /var/www/website.com/ logged in to ns1 and ns2 phpmyadmin (to be removed) and can see the dns entry.
    but i cannot ping the site nor see it in the web browser. if i do a whois i see my name servers there.
     
  15. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Is the text ready for proofreading?
    Try to ping with ip-number.
    The name service info may take up to 48 hours to update.
     
  16. chief

    chief Member HowtoForge Supporter

    i have 16 static ip's from ISP. can you check i have configured them correctly?
     
  17. chief

    chief Member HowtoForge Supporter

    i have 16 static ip's from ISP. can you check i have configured them correctly?
     
  18. chief

    chief Member HowtoForge Supporter

    not yet, but. this little hurdle definitely helps with it..
     
  19. chief

    chief Member HowtoForge Supporter

    a quick question.
    when i have added my ns1 and ns2 to be the nameserver from where i bought the domain. i checked it via whois mydomain.com and it shows my ns1 and ns2.
    In the control panel, is it just a case of adding client, then website domain. or do i need to add any dns stuff via the wizard?
    i ask because i cannot ping the domain still, the original dns was updated on sunday.
    ping command states 'ping: domain.com: Name or service not known'
     
  20. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    That means name service can not resolve the address from hostname. So the name service is not working or is not yet updated.
    Ping first with the IP number, so you know the network connection to that host works.
    Then set up the name service correctly.
    Creating a website does not add the name to name service, you must use ISPConfig panel DNS tab to add the hostname. If the ns1 and ns2 are your hosts that you have added to ISPConfig as name servers.
    For some reason there has been much setting up of name services recenlty, I have answered in same way a few times already. See this post for example: https://www.howtoforge.com/community/threads/cant-establish-connection.79559/#post-376936
    In your case when the name service for your domain is not working, use the name server IP number instead of ns1.thenameserver.tld.
    This way you can see what information about your hosts are in those name servers you control. If they answer correctly, i.e. you get the right IP-number back, try waiting a few hours for other name servers to update.
    Meanwhile, if you want to test your website before name service works, use this fine tip: https://www.faqforge.com/linux/cont...ess-a-namebased-website-without-a-dns-record/
     

Share This Page