Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7006563
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T21:29:37+00:00 2026-05-27T21:29:37+00:00

I run several websites using Apache 2 with VirtualHosts configured. They all work fine

  • 0

I run several websites using Apache 2 with VirtualHosts configured. They all work fine on their own (i.e. http://www.domain1.com, http://www.domain2.com, http://www.domain3.com).

One of these VHosts needs to run over HTTPS so has SSL setup with a wildcard domain (*.domain1.com), but it seems that the SSL port is also open for the other 2 domains: for example, I can access https://www.domain2.com. The issue is that obviously the browser issues a warning because the domain requested doesn’t match the domain on the certificate.

What I would like to do is stop this behaviour altogether and block access to https to domain2.com and domain3.com. I understand that because of the actual protocol, you can’t get the ServerName before having accepted the certificate and started decyphering the headers, but has anybody ever managed to get around that?

Thanks!

rafrafUk

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T21:29:38+00:00Added an answer on May 27, 2026 at 9:29 pm

    I guess the solution is having a unique ip adress per SSL site..

    One ip for SSL vhost (ie: 88.244.63.215)

    http:// domain1.com :80
    https:// domain1.com :443
    https:// foo.domain1.com :443

    Another ip for Other vhosts (ie: 88.241.131.152)

    http:// domain2.com :80
    http:// domain3.com :80

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using osql to run several sql scripts against a database and then I
My asp.net site has to run on several client servers. It's working fine on
I have created several websites that run from ISAPI dll's, which runs smoothly in
I've build several websites using PHP and mySQL as backend, and believe that I'm
I run multiple websites all running off of a single installation of CodeIgniter on
I run several queries from mysql command line on my linux box (Fedora Os).
I'm trying to run several similar services via ServiceBase.Run(ServiceBase[] ) but it's only running
I am configuring a new environment to run several intranet web applications. I have
I have an application (winform exe) that I run several times. Does this mean
For reasons that are irrelevant to this question I'll need to run several SQLite

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.