Now we need to redirect http requests to the new https instance. Create a new conf file for the redirect:
<pre> vi 1006-owncloud8http.conf (number may be different for you)</pre> and add this code (change the example server to match yours):</pre><VirtualHost *:80>
ServerName owncloud8
ServerAlias owncloud8.home.com
</VirtualHost></pre>
Now you need to restart httpd. Check that the syntax of your new files is ok before restarting:<pre> httpd -tIf you get an error message, check that the new content in your .conf files matches the information above and make changes as necessary. Once you get a "Syntax OK" message, run (as root) systemctl restart httpd.service</pre>
== Test Access ==