How To Add New IPv4 in ISPconfig

Discussion in 'ISPConfig 3 Priority Support' started by nvidian, May 21, 2015.

  1. nvidian

    nvidian Member

    Hi, I have one extra free IP address (2.3.4.5) and I want to setup one website to use that IP for SSL. Another IP is 1.2.3.4 - shared among other sites.

    STEPS:
    1. Add DNS Zone for that website, set A record point to 2.3.4.5 (extra IP)
    2. Configure /etc/network/interfaces (Debian Jessie):
    Code:
    # The primary network interface
    auto eth0
    iface eth0 inet static
            address 1.2.3.4
            netmask X.X.X.X
            network X.X.X.X
            broadcast X.X.X.X
            gateway 1.2.3.1
    
    #additional Public IP
    iface eth0 inet static
            address 2.3.4.5
            gateway 2.3.4.1
    3. Restart networking (I even reboot the server).

    RESULT:
    The website still point to old IP address (1.2.3.4).

    HOW TO NEW IP IN ISPCONFIG ?
    1. Should I put IP Address in ISOCONFIG: Sites >> Web Domain >> IPv4-Address (default value is '*') ?? UPDATE: cannot add value other than '*', no matter what I put in there , after saving the configuration it will return to '*' value .
    2. Should I put IP Address in vhost ? in my previous setup (without ispconfig) I put IP address in nginx vhost, but I'm not sure if it allowed in ispconfig.
    Thank you
     
  2. nvidian

    nvidian Member

    UPDATE: I'm REALLY SORRY, DNS Propagation is the culprit here. Admin/mod can delete this thread if you want. :)
     
  3. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    You have to add the ip to ISPConfig under System -> Server IP Addresses first.
     
  4. nvidian

    nvidian Member

    Hi Manus, thank you. I added that IP to Server IP Addresses and now I can select the IP in Web Config. Thanks.
     

Share This Page