ubuntu 8.10 server and apache 2.29 ssl

Asked by XnimrodunterX

Hello Everyone,

I don't know if i am posting this in the correct area but here is my problem.

I have installed Ubuntu 8.10 server following the howtoforge.com perfect server (not the one for ispconfig 3) everything is working fine i can access all my vhosts on port 80 with no problems. my problem is mutliple sites using ssl cert with apache.

this is how i have my system configured:

in order to accept multiple ssl certificates i added another ip address to my /etc/network/interfaces and it looks like below

 The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static

auto eth0:1
iface eth0:1 inet static

the first ip already has an domain pointed to it using the ssl port 443 and this works fine.

when i added another vhost file to my in the /etc/apache2/available-site/ that is using the second ip

everytime i go to access this site with https://www.domain.com it points to the first ip and not

i have the symbolic link already created in the /etc/apache2/sites-enable which is in the include of the apach2.conf.

i've restarted apache, rebooted the server and i can ping the ip from my workstations.

what could be the problem with this? any ideas on what else i should be checking?

Question information

English Edit question
Ubuntu apache Edit question
No assignee Edit question
Solved by:
Last query:
Last reply:
Revision history for this message
Hemanth (hemanth-hm) said :
Revision history for this message
XnimrodunterX (sgoldschmidt) said :

I got it working.

i had to swap my ssl enabled vhosts ip's and now everything works fine.


Revision history for this message
Hemanth (hemanth-hm) said :

Ok have fun XnimrodunterX