How to setup Multiple SSL Virtual Hosts on Apache | ServerWatch

How to setup Multiple SSL Virtual Hosts on Apache

Jul 20, 2010
ServerWatch content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More



This quick howto shows how to setup multiple SSL
virtual hosts under OpenBSD 3.0.


For simplicity’s sake, I keep all of my virutalhosts in other files. I put regular non-SSL
domains in a file called “Vhosts.conf” and all the SSL domains in a file called
“SSLhosts.conf”. You can cram them all into the httpd.conf file if you like. It can get
pretty crowded though. I include both files right after the NameVirtualHost lines.

This quick howto shows how to setup multiple SSL
virtual hosts under OpenBSD 3.0.

ServerWatch Logo

ServerWatch is a top resource on servers. Explore the latest news, reviews and guides for server administrators now.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.