WordPress.org

Ready to get started?Download WordPress

Forums

WordPress MU Domain Mapping
[resolved] WordPress multisite, Domain mapping and SSL (7 posts)

  1. easilyamused
    Member
    Posted 2 years ago #

    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 -http://www.eckerd.org/
    sub site - http://www.eckerdacademy.org/
    sub site - http://www.eckerdcbc.org/

    Then we have http://wordpress.org/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

  2. Joshua Parker
    Member
    Posted 2 years ago #

    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?

  3. easilyamused
    Member
    Posted 2 years ago #

    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:
    http://en.wikipedia.org/wiki/Server_Name_Indication

    - Doug Stewart

  4. Joshua Parker
    Member
    Posted 2 years ago #

    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.

  5. easilyamused
    Member
    Posted 2 years ago #

    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

  6. stoutdesign
    Member
    Posted 2 years ago #

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

    Thanks in advance

  7. easilyamused
    Member
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic