Website with SSL and own IP-address

Discussion in 'Installation/Configuration' started by Hans, Aug 27, 2007.

  1. Hans

    Hans Moderator Moderator

    From my ISP, i have a block with different IP-addresses, which i can use on my server on the same NIC.
    Multiple IP-addresses are very useful, because in case of websites with SSL enabled (https://).
    Within ISPConfig, i added the additional IP-address for the website already and i selected it for the site.
    It is also clear to me how i can setup SSL for a website within ISPConfig, but i wonder what i have to do else.

    So here is my question:

    Is it also necesarry to change the /etc/hosts file end/or /etc/network/interfaces or even more...?
    I was also thinking about:

    ifconfig eth0:0 <additional-ip-address>

    Thanks in advance!
     
    Last edited: Aug 27, 2007
  2. Hans

    Hans Moderator Moderator

    One step further

    In the mean time i have added some additional lines to my /etc/network/interfaces:

    auto eth0:0
    iface eth0:0 inet static
    address 12.34.56.789
    netmask 255.255.255.xxx
    gateway 12.34.56.789

    Now i can ping from my local desktop to my server.
    So that's ok. :)

    Although, i have added an additional IP-address for the website within ISPConfig, i still see the message "Shared IP". :(

    ***Edit***
    It works. Only a matter of time,becuse the A-record for the domain name for the website was not pointing to the new IP-address yet.

    Now i can install the SSL certificate :)
     
    Last edited: Aug 28, 2007

Share This Page