New IP of the server, current is still blacklisted - where provide changes

Discussion in 'Installation/Configuration' started by Poliman, Apr 11, 2018.

  1. Poliman

    Poliman Member

    I have server done using tutorial Perfect Server - there is ISP 3.1.11, Ubuntu 16.04 LTS. Unfortunately my provider gives me IP which regularly is blacklisted. I am going to change this IP. I have an important question to community. Where should I change current IP to this new. I suppose somewhere in postfix, dovecot, dns of domains deployed on the server, /etc/hosts file. Something more and in which files exactly?
    In /etc/postfix/master.cf I have line smtp_bind_address=127.0.0.1:10025 which is local IP. What about dovecot and another software?

    PS
    Is it possible to set only one domain (server hostname) for sending emails for each (clients) domain deployed on the server?
     
    Last edited: Apr 11, 2018
  2. Taleman

    Taleman Active Member HowtoForge Supporter

    Changing IP address has been discussed a lot, try Internet Search Engines with
    Code:
    ispconfig change IP site:howtoforge.com
     
    Poliman likes this.
  3. Poliman

    Poliman Member

    I am in panic. Appreciate your help.

    PS
    I will compress info here:
    1. Change the IP in /etc/network/interfaces, adjust /etc/hosts, make sure all web sites in ISPConfig use the new IP and that your DNS records point to the new IP. That should do it.
    2. You will have to change the IP address in:

    /etc/hosts
    /etc/network/interfaces
    /etc/resolv.conf

    In ISPConfig, change the IP address in the server settings and if you added it under system > server IP, then you will have to chnage it there too. If the IP has been selected in any websites, then go to tehse websites, ensure that the new IP is selected and click on save (even if the new IP shows up, its required to click on save once).

    Should I as first change IP on the server settings and then bind IP to it in registrar panel?
     
    Last edited: Apr 11, 2018
  4. Poliman

    Poliman Member

    Is it possible to setup new IP only for mail service - postfix/dovecot?
     
  5. Taleman

    Taleman Active Member HowtoForge Supporter

    If you have multihomed host that has more than one IP address it is possible to make mail use one of those addressses and other services use another IP address. But don't ask me for detailed info on how to do it.
     
  6. Poliman

    Poliman Member

    Ok, so only one question - what means "multihomed"?
     
  7. Taleman

    Taleman Active Member HowtoForge Supporter

  8. Poliman

    Poliman Member

    Seriously I thought that was something like colloquialism. :) I bought IP failover, configured it. Currently server has two public IP. Now I have to wait until evening/midnight to change each IP in websites zones from main IP to failover.
     
    Last edited: Apr 11, 2018

Share This Page