DNS forwarding over 2 domains doesen't work with SSL
January 03, 2014 10:46AM
Hello,

I just set up a raspberry Pi with owncloud using nginx.
Everythings works fine in my LAN but of course I'd like to access it from outside (too).
What I have/use for that:
Raspberry with static IP
Router with DynDNS and Portforwarding 80+443 to Raspi
DynDNS-domain myname.no-ip.org
"Real" domain (myname.eu) which is set to forward all to myname.no-ip.org
A selfmade SSL-certificate

So the way ist:
call https://www.myname.eu
it will redirect to https://myname.no-ip.org which points to my router
The Router forwards those requests to the raspi

What works:
https://192.168.178.3 gives me the owncloud-Login
https://myname.no-ip.org does the same

But:
https://www.myname.eu says ssl_error_unrecognized_name_alert (using firefox)

I tried to re-create the certificate with 192.168.178.3, myname.no-ip.org as well as myname.eu for common_name but only reached that I couldn't access it via 192....

Since I'm not verry skilled in setting up server I'd like to know where I have to search. Do I have to add a server in the nginx-configuration or just rename it?

Thanks!

BTW: I'd like to acess the same site by calling 192.168... in the LAN as well as by calling www.myname.eu if that's possible!
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 117
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready