Find the answer to your Linux question:
Results 1 to 3 of 3
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2006
    Posts
    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
    Just Joined!
    Join Date
    May 2006
    Posts
    1

    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.


    Regards,

  3. #3
    Just Joined!
    Join Date
    Sep 2008
    Posts
    8

    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

Posting Permissions

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