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
        address 192.168.100.25
        netmask 255.255.255.0
        network 192.168.100.0
        broadcast 192.168.100.255
        gateway 192.168.100.1

auto eth0:1
iface eth0:1 inet static
        address 192.168.100.24
        netmask 255.255.255.0
        network 192.168.100.0
        broadcast 192.168.100.255
        gateway 192.168.100.1

the first ip 192.168.100.25 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 192.168.100.24:443

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

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 192.168.100.24 from my workstations.

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

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apache Edit question
Assignee:
No assignee Edit question
Solved by:
XnimrodunterX
Solved:
Last query:
Last reply:
Revision history for this message
Hemanth (hemanth-hm) said :
#1
Revision history for this message
XnimrodunterX (sgoldschmidt) said :
#2

I got it working.

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

Thanks

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

Ok have fun XnimrodunterX