Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

DNS forwarding over 2 domains doesen't work with SSL

$
0
0
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!

Viewing all articles
Browse latest Browse all 4759

Trending Articles