Define SSL for multiple-IP virtual hosts

You can define different SSL options for different virtual hosts, which are multiple servers running on one machine. In the configuration file, define each SSL directive in the stanza for the virtual host that the directive applies to. If you don't define an SSL directive on a virtual host, that virtual host takes the default for that directive.

SSL is disabled by default for each virtual host.

  1. To enable SSL for a virtual host, specify the SSLEnable directive on the virtual host stanza in the configuration file.
  2. Specify these directives outside of the virtual host stanza.
  3. Restart the server.

Related information