Hi guys,
I'm here for a little network issue and the DNS redirection from my DNS provider to my local OMV.
That's the deal : I would like to type mydns.com or openmediavault.mydns.com or owncloud.mydns.com and be redirected to my OMV own ip address (according to their ports).
That's what I did :
1 - I created the two sub-domains in my admin control panel from the provider
2 - In the DNS options I chose redirection to another adress, which is my static ip address like 82.x.x.x (with no port so it's 80 by default and I checked "Always connect to OMV by https")
3 - I chose "Redirection by frame" for the sub-domain openmediavault.mydns.com to the adress 82.x.x.x:443 (I changed the original https port for another one but here is the example)
4 - I chose "Redirection by frame" for the sub-domain owncloud.mydns.com to the adress 82.x.x.x:8443 (I changed the original owncloud port for another one but here is the example)
5 - On my router, I transfered all inbound addresses from the port 80 and 8443 to the local address of my NAS (192.168.0.50)
That's the issue :
1 - Redirection by frame does not work (timed out)
but
2 - Redirection by http works fine
One question stays in my mind, when I chose the address of DNS names (number 2), do I have to go on my static public IP or should I go with the DNS names of my ISP on my router ??
Thx for reading.
Cheers
PS : next step is securing the whole things with certificates and SSL