0

I would like to host multiple domains at same VPS and need to configure SSL certificate for those. The server is Ubuntu 12.04. All domains have their own certificates.

I need help regarding multiple domain configuration in default-ssl.

1 Answers1

2

You should Create multiple virtual-hosts in Apache and assign SSL Certificate seperatly for each one of them.

Example:

NameVirtualHost *:443

<VirtualHost *:443>
  ServerName some.domain.com
  # SSL options, other options, and stuff defined here.
</VirtualHost>

<VirtualHost *:443>
  ServerName some.domain2.com
  # SSL options, other options, and stuff defined here.
</VirtualHost>

For SSL Options refer to: http://httpd.apache.org/docs/current/ssl/ssl_howto.html

Make sure to add NameVirtualHost to your configuration.

JimmySys
  • 46
  • 2