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.

Multiple SSL sites with shared IPs

Discussion in 'General Discussion' started by MikeAFl, Mar 26, 2010.

  1. MikeAFl

    MikeAFl Registered

    Joined:
    Sep 24, 2005
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I have WHM/cPanel 11.25 and I'm trying to use the include files to get this web config to work, but I'm about ready to give up and just manage httpd.conf manually.

    I have 3 main domains, domain1.com, domain2.com and domain3.com. Each has a subdomain 'stage' - eg, stage.domain1.com.

    All 3 main domains share a docroot, and all three subdomains share another docroot. Each main domain has its own IP address which is shared by the corresponding 'stage' subdomain. I want each domain on port 443, and each subdomain on 444. So the whole thing looks like this:
    domain1.com = x.x.x.100:443
    stage.domain1.com = x.x.x.100:444

    domain2.com = x.x.x.200:443
    stage.domain2.com = x.x.x.200:444

    domain3.com = x.x.x.300:443
    stage.domain3.com = x.x.x.300:444

    I'm getting NameVirtualHosts warnings and port mixing warnings, and some weird resolutions - stage.domain3.com resolves to the main docroot, even though it looks the same as the other two subs, which resolve correctly.

    I've been managing apache servers for years, and everything looks like it should work, but it doesn't. The include files make it all pretty cumbersome, but they look right.

    Anybody got suggestions?
     
  2. m4rc3

    m4rc3 Active Member

    Joined:
    Mar 26, 2010
    Messages:
    39
    Likes Received:
    2
    Trophy Points:
    8
    There could be an Alias somewhere messing things up.
    Code:
    grep stage.domain3.com  /usr/local/apache/conf -ri
    Other than that I can't think of anything.

    There are just too many ways one could go about setting this up.

    If you give us a bit more info as to how you are trying this, I'm sure that we can help.

    How these domains were configured on the server, httpd.conf content, dns information, etc.

    This kind of things are not very difficult but they are messy and confusing so we need as much data as possible in order to help out.
     
    #2 m4rc3, Mar 28, 2010
    Last edited: Jun 25, 2010
Loading...

Share This Page