Enable SSL with a Virtual Host .conf file

Best practice is to set Virtual Hosts in Apache. This one is especially prepared for ownCloud server 9 and Apache 2.4. This is good because of several reasons. Just to mention two of them:

  1. You won’t have to type the full address in the browser with a /owncloud at the end.
  2. If you are planning to run several sites on your web-server in the future, this is the easiest way to give directives to each site. Then you have to make one Virtual Host file for each site.
Guide

To make this more simple we wrote a little guide that helps you set it up. Just follow the steps and you should be good to go.

  1. Self signed

  2. Own Domain name



PRO TIP

If you don’t know how to publish your server online, we wrote a guide that you can find here.