Title: WordPress multisite, Domain mapping and SSL
Last modified: August 20, 2016

---

# WordPress multisite, Domain mapping and SSL

 *  Resolved [easilyamused](https://wordpress.org/support/users/easilyamused/)
 * (@easilyamused)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/wordpress-multisite-domain-mapping-and-ssl/)
 * 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/](http://www.eckerdacademy.org/)
   sub site – [http://www.eckerdcbc.org/](http://www.eckerdcbc.org/)
 * Then we have [http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/](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

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [Joshua Parker](https://wordpress.org/support/users/parkerj/)
 * (@parkerj)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/wordpress-multisite-domain-mapping-and-ssl/#post-2272180)
 * 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](https://wordpress.org/support/users/easilyamused/)
 * (@easilyamused)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/wordpress-multisite-domain-mapping-and-ssl/#post-2272235)
 * 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](http://en.wikipedia.org/wiki/Server_Name_Indication)
   > – Doug Stewart
 *  [Joshua Parker](https://wordpress.org/support/users/parkerj/)
 * (@parkerj)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/wordpress-multisite-domain-mapping-and-ssl/#post-2272243)
 * 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](https://wordpress.org/support/users/easilyamused/)
 * (@easilyamused)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/wordpress-multisite-domain-mapping-and-ssl/#post-2272393)
 * 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
 *  [stoutdesign](https://wordpress.org/support/users/stoutdesign/)
 * (@stoutdesign)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/wordpress-multisite-domain-mapping-and-ssl/#post-2272427)
 * [@easilyamused](https://wordpress.org/support/users/easilyamused/) – Do you mind
   elaborating just a bit more on your solution?
 * Thanks in advance
 *  Thread Starter [easilyamused](https://wordpress.org/support/users/easilyamused/)
 * (@easilyamused)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/wordpress-multisite-domain-mapping-and-ssl/#post-2272492)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-mu-domain-mapping.svg)
 * [WordPress MU Domain Mapping](https://wordpress.org/plugins/wordpress-mu-domain-mapping/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-mu-domain-mapping/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-mu-domain-mapping/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-mu-domain-mapping/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-mu-domain-mapping/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-mu-domain-mapping/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [easilyamused](https://wordpress.org/support/users/easilyamused/)
 * Last activity: [14 years, 9 months ago](https://wordpress.org/support/topic/wordpress-multisite-domain-mapping-and-ssl/#post-2272492)
 * Status: resolved