I use no-ip and I want to set my owncloud server (hosted with raspberry) with https protocol.
After installed everything I follow this from the official documentation:
<VirtualHost *:80>
ServerName my_no-ip_address
Redirect permanent / https://my_no-ip_address/
</VirtualHost>
<VirtualHost *:443>
ServerName my_no-ip_address
<IfModule mod_headers.c>
Header always set Strict-Transport-Security "max-age=15768000; includeSubDomains; preload"
</IfModule>
</VirtualHost>
Now this is what happen when I try to connect to my owncloud with the following address:
http://192.168.x.x/owncloud (local address) - It works
https://192.168.x.x/owncloud (local address) - It works
http://my_no-ip_address/owncloud (no-ip address) - It works
https://my_no-ip_address/owncloud (no-ip address) - It doesn't work (403 forbidden)
I'm thinking that this is caused by no-ip service because I have a free account.
Did I do something wrong or is no-ip problem? Are there other free dns which allow me to use https ?