Running multiple SSL websites on one server
Hello:
I am trying to set up several SSL e-commerce sites on one Fedora server with Apache 2. I can get to the HTTP sites fine, but the HTTPS sites give a "page not found error". I have the virtual host entries set up to use the SSL cert that I self-generated/signed and to listen on port 443. If I type in my HTTPS URL with ":443" added to the end I get the default Apache "Welcome" screen instead of the actual HTTPS site. I understand that SSL requires a unique IP/Port pair for each site. My question is that I have 1 static ip address from my isp. I know that I can create additional virtual NICs in my Fedora box. Is there any way to accomplish this so that each SSL website can have its own IP/Port pair? I have a Linksys router also. I can generate and sign SSL certs for each e-commerce site. If someone has already gotten this to work, could you please tell me how you did it???? |
Here is the config for one of my servers, this is for apache 1.3.31 so it may be a little different you also need to have a line that has "Listen 443" in the config. To have more than one site just list the same ip address again and change the ServerName and ServerAlias. Also you will have to add a line NameVirtualHost 63.174.233.112
Code:
<VirtualHost 63.174.233.112:443> |
All times are GMT -5. The time now is 08:01 AM. |