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:
- You won’t have to type the full address in the browser with a /owncloud at the end.
- 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.
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.