Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Multiple SSL sites, same Apache server, can only access one. |
|
Author |
|
xpac
Joined: 15 Jan 2017 Posts: 2
|
Posted: Mon 16 Jan '17 6:25 Post subject: Multiple SSL sites, same Apache server, can only access one. |
|
|
So we have an apache server hosting 2 sites, both need to be secured via SSL. They share the same server, and same external IP address. We're using a certificate from GoDaddy with 5 domains total, 1 primary and 4 SANs.
Site1 has been up and running for a while with SSL, recently some outside web developer finished site 2. I created a new cert with both domains, and installed.
HTTP resolves fine for both sites, and HTTPS resolves fine for site1. However, for site2 when you type "https://site2" it redirects to site1.
I'm thinking the web developer configured something for site1/SSL but did not for site2, so whenever you type in the https for site2 it automatically uses whatever "rule" is in place. But I'm unsure of where to look. Just wondering if somebody can point me in the right direction. Either that, or maybe I should use a separate external IP address for site2? Or is it just specifying a different port somewhere in a config file? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
|
Back to top |
|
xpac
Joined: 15 Jan 2017 Posts: 2
|
Posted: Fri 27 Jan '17 3:21 Post subject: |
|
|
Ah thanks, yep forgot I had posted this here but I came across that via Google and was able to solve the issue! |
|
Back to top |
|
|
|
|
|
|