• Resolved easilyamused

    (@easilyamused)


    Hi everybody,

    Small problem and I can’t get the server to load the correct certs per domain.

    Current set up

    WordPress Multisite set up with sub directories.

    main site -https://www.eckerd.org/
    sub site – https://www.eckerdacademy.org/
    sub site – https://www.eckerdcbc.org/

    Then we have https://www.ads-software.com/extend/plugins/wordpress-mu-domain-mapping/ set up to map the other domains to the main site and sub sites.

    The SSL works just fine on the main site.
    When you try to go to a sub site (https)
    It loads the main sites Cert.

    We have 3 different ssl certs set up with the 3 main domains.

    How would we get the server to load the correct cert per site?

    People have said if you use different IP’s it can be done, But that’s really all they say – No real Direction or more info then that ; c (

    Thank you for your time,
    James Tryon

Viewing 6 replies - 1 through 6 (of 6 total)
  • Let me make sure I understand this correctly. So, you have a multisite install with 2 subsites on the same install but each one is using a different IP address?

    Thread Starter easilyamused

    (@easilyamused)

    Hi Joshua,

    not Quite. At this point only One public ip.

    The Question is how do I have all 3 sites using https with there corresponding mapped domains?

    Below is some of the conversation from the hackers mailing list today.

    Each SSL certificate *requires* a unique IP address on the server. This is
    outside the realm of WordPress configuration. The solution will depend on
    your network and server setup.

    As a general overview, you’ll need multiple public IP addresses (3) pointing
    to your server and your web server should be configured to respond to each
    IP with the proper domain and SSL cert location.

    – Jeremy Felt

    And if you’re wondering why this is it’s because an SSL connection is
    negotiated before the request is read, so the server cannot know the
    hostname being requested until the SSL connection is made. Therefore
    you can only have one SSL virtualhost per IP address.

    – John Blackbourn

    Not entirely true. Apache after 2.2.12 supports SNI (Server Name
    Indication) which allows for multiple SSL certs per IP.

    Dig it:
    https://en.wikipedia.org/wiki/Server_Name_Indication

    – Doug Stewart

    Ok, got it. You can’t do that will multisite and mapped domains. Each domain must be hosted on the server (not mapped) and they all must have a dedicated IP.

    Thread Starter easilyamused

    (@easilyamused)

    I found the solution. If you force the domain to IP mapping on the server it allowed the certificates to work properly.

    Thanks for all your help

    @easilyamused – Do you mind elaborating just a bit more on your solution?

    Thanks in advance

    Thread Starter easilyamused

    (@easilyamused)

    This was a first for my self and the guys running the server.

    We both have set up ssl certs on single sites and even multisites with out domain mapping.

    This is what The Server Guy(need to get permission to say there company name) Said.

    I added entries in the host record to point back to the server. Even though the IPs specified in the Apache configs are correct, forcing the machine to never do an IP lookup seemed to have remedied the issue. In all honesty this should not have mattered, but it allowed everything to work.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘WordPress multisite, Domain mapping and SSL’ is closed to new replies.