The French Guy

CPANEL redirect feature redirects both HTTP and HTTPS. Therefore, if you try to redirect http to https , you will create a loop. This is what CPANEL Redirect adds: RewriteCond %{HTTP_HOST} ^$ RewriteRule ^/?$ “https\:\/\/your\.domain\.com\/” [R=301,L] Edit the .htaccess of the subdomain you created for owncloud, and add at the end: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} “%{HTTPS} off” is saying if the connection is insecure, send it to https.