Dave's Brain

Browse - Computer Tips - How can make Apache do multiple SSL/TLS sites with a single IP-address?

Date: 2017may26
OS: Linux
Product: Apache

Q.  How can make Apache do multiple SSL/TLS sites with a single IP-address?

A.  Apache supports SNI which makes it possible.
http://stuff-things.net/2016/11/16/apache-sni/

You do NOT have to put all hosts in the same config file.
I successfully did it in separate files.

I add:

ServerName example.com ServerAlias www.example.com

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.