Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Tomcat with parked domains and SSL

Discussion in 'General Discussion' started by pixelsoup, Dec 16, 2006.

  1. pixelsoup

    pixelsoup Registered

    Dec 21, 2005
    Likes Received:
    Trophy Points:

    I have a client that is trying to have one main domain running on SSL and tomcat with two additional parked domains. He has created a redirect so that and re-direct to The issue is that when you try and access either the .org or .net domain, the default landing page for tomcat is displayed..

    Any suggestions as to how I fix this?

    Thanks in advance.
  2. freedman

    freedman Well-Known Member

    Feb 13, 2005
    Likes Received:
    Trophy Points:
    AFIK, this can't work.

    SSL doesn't support virutal hosts.

    so, your redirects for those domains will only work because non SSL: gets resolved to the ip, the apache server see's the domain NAME requested, matches a virtualhost entry, see's the redirect, and issues the redirect command.

    with an httpS connection, the hostname, I believe, isn't known by the server, so you can't do the same kind of name matching to isue a redirect.

    I'm not familiar enough with tomcat specifically to provide a better explanation.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice