I run the SSL server on my private server as a Virtual Host. This involves
SSLEngine On
SSLCertificateFile /etc/apache2/holdenweb.com.crt
SSLCertificateKeyFile /etc/apache2/holdenweb.com.key
regards
Steve
I wouldn't say I'm an expert, I just stab around until I get things to
work. I do so little server configuration any more I tend to forget much
of what I learned between bouts, and I'm afraid I'm away from home this
week so I don't have the notes I made with me.
You shouldn't necessarily need another account. OpenHosting, for example
(the company I use: very friendly, and great Python knowledge) will add
another IP address to my account for two bucks a month, I believe.
You definitely can set up virtuals with a wildcard IP, as I have done
just that in the server I was talking about. The main configuration file
doesn't configure any virtuals at all, then I include sub-configs for
the various different servers, which ends up looking like this:
sites-available/default:NameVirtualHost *:80
sites-available/default:<VirtualHost *:80>
sites-available/default:</VirtualHost>
sites-available/default.dpkg-dist:NameVirtualHost *
sites-available/default.dpkg-dist:<VirtualHost *>
sites-available/default.dpkg-dist:</VirtualHost>
sites-available/ssl:<VirtualHost *:443>
sites-available/ssl:</VirtualHost>
As you can see I am only running three sites on this server, so that
keeps it nice and easy (and at this distance I can't even remember what
default.dpkg-dist is for). I'm not sure why I chose to use wildcards,
but it *is* convenient to be able to access the site across the loopback
network (though I had to define localhost.holdenweb.com in order to
match the wildcard certificate I installed). If you use a specific IP
you lose that ability, since it has to match (though that depends on how
your network layer handles local connections to the external IP, I guess).
Anyway, hope this helps. Now back to the salt mines ...
regards
Steve