Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

For testing purposes, I would like to create 5 different subdomains, each with a different SSL certificate. Can someone point me to the right direction to get this to work?

share|improve this question

migrated from stackoverflow.com Sep 8 '12 at 14:04

This question came from our site for professional and enthusiast programmers.

1 Answer 1

You probably want to look at this:


Essentially, under a different <VirtualHost> block, you have a different ServerName denoting what the subdomain/domain is, and then different SSLCertificateFile and SSLCertificateKeyFile for each different SSL certificate.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.