Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Apache2 with SSL

    I configured one of the vhosts on my server to use SSL.

    The problem appears however when you type https on the other domains hosted on the same server, you see the site using SSL which is a totally different domain...

    This shouldn't happen

    Anyone got a clue what I might have done wrong?

  2. #2

    Apache problems

    I think it would be necessary to have at least some of you httpd.conf or whatever file name you are using for virtual hosting.


  3. #3

    Default Domain

    I think that Apache will use the first VirtualHost as the default domain if another matching one cannot be found. So when users go to a different domain, it is hitting your server on port 443, and Apache defaults to the only domain you have hosted.

    You can probably add in some Redirect commands to your Apache configuration to send people to the plain HTTP version of your other domains. We have a somewhat-related guide that may help you out:

    The Data Jelly Blog: Using SSL in Apache for Certain Pages

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts