PDA

View Full Version : Website with SSL and own IP-address


Hans
27th August 2007, 21:02
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!

Hans
27th August 2007, 23:03
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 :)