Single IP, multiple HTTP sites, one HTTPS site

Hello

I'm trying to configure a server to host multiple sites off a single IP, where one of them is configured for SSL. Easy-peasy so far, but I've found that attempting to visit a non-SSL site via HTTPS results in the unrelated SSL site being displayed instead. Unfortunately all our sites are for different clients so I don't feel that this is an acceptable situation to be in.

The common answer from the internet is to get a separate IP for the SSL site, but I'm not having much luck convincing Linode Support of the difference between something being technically possible and being commercially unacceptable. I totally understand and appreciate the problems with the impending IPv4 exhaustion.

I'm running Apache2 on Ubuntu 12.04, any help in stopping the domain crossover would be greatly appreciated.

Thanks

Barry

1 Reply

Your SSL site sounds like it is set to be the default SSL site for your Apache installation – so it is displayed in response to requests that do not match a specific URL. Change the default site to be something like 'not found' or a redirect and create a specific SSL config for your actual SSL site.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct