The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

wired SSL redirection

Discussion in 'General Discussion' started by Sebastien, Feb 7, 2006.

  1. Sebastien

    Sebastien Member

    Joined:
    Nov 15, 2003
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Hello, I have Generate a SSL Certificate and Signing Request for the domain xyz.com and the domain is now accessible via http://www.xyz.com & https://www.xyz.com but the problem is that if I try another domain on the server let's suppose https://www.abc.com it redirects me to www.xyz.com, while it must simply retrun an invalid url... how to fix this issue? 10x
     
  2. rustelekom

    rustelekom Well-Known Member
    PartnerNOC

    Joined:
    Nov 13, 2003
    Messages:
    290
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    moscow
    most likely you install ssl host on shared ip address. you should install it on dedicated ip address for preventing above issue.
     
  3. Sebastien

    Sebastien Member

    Joined:
    Nov 15, 2003
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    yes it is on a shared ip, is there any way to do it on shared ip without this problem... Thank you
     
  4. rustelekom

    rustelekom Well-Known Member
    PartnerNOC

    Joined:
    Nov 13, 2003
    Messages:
    290
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    moscow
    on shared ip it is impossible, first domain in apache config which used ssl will showed always first.
     
  5. pross

    pross Well-Known Member

    Joined:
    Mar 14, 2005
    Messages:
    75
    Likes Received:
    0
    Trophy Points:
    6
    but..u can use a different port ;) thats what i did.
    Then just ust mod rewrite to redirect https to yor new port..easy
     
  6. rustelekom

    rustelekom Well-Known Member
    PartnerNOC

    Joined:
    Nov 13, 2003
    Messages:
    290
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    moscow
    i am not sure that in visitor browser this will work correct. i think they will get many warnings about non standard ssl. and honestly any proxying have a potential security risk with grabbing imporant data by 3rd party.
     
  7. pross

    pross Well-Known Member

    Joined:
    Mar 14, 2005
    Messages:
    75
    Likes Received:
    0
    Trophy Points:
    6
    it isnt 'proxying' in the apache docs it says you cant have more than one SSL virtualhost on any one IP it just binds to the first one..it goes on to SUGGEST either delegating other IP's for more SSL hosts or using/adding different ports so my apache now listens on 80 443 and 444
     
Loading...

Share This Page