Synology & Strato multiple subdomains

Currently reading
Synology & Strato multiple subdomains

21
5
Hey there,

I'm looking to implement several subdomains in my system. For now I'm using ports like https://mydomain.com:55 to reach my applications. I would like to have someway like that: http://music.mydomain.com. So it is more easy for people to join these services.
I have a domain hosted at strato. In the settings I created a subdomain music.mydomain.com and let the default redirection to internally.

As a next step I created a reverse proxy in my synology: http://music.mydomain.com to https://music.mydomain.com and https://music.mydomain to localhost:55. Also Web Hosting, Domain Name Registration | MyDomain.com to Web Hosting, Domain Name Registration | MyDomain.com.

In my router I opened the ports for 80 and 443 to my synology.

So far so good. Then for ssl I would need the proper certificate. With lets encrypt I created a certificate for my domain. When I just create a normal one, everything is fine. But there is also the option to create subject alternative name. In there i wrote my music.mydomain.com subdomain. But this sadly fails...

And yeah... I cannot reach with music.mydomain.com my application.

Is there something else I have to edit? Where is my fault?

Thanks in advance and best regards
 

Shadow

Subscriber
606
206
NAS
DS216+II, DS118, DS718+
Router
  1. RT2600ac
  2. MR2200ac
Operating system
  1. Windows
Mobile operating system
  1. Android
As a next step I created a reverse proxy in my synology: http://music.mydomain.com to https://music.mydomain.com
You are aware that you are making it posible to connect HTTP only to your application? This doesn't do redirect to HTTPS. Over the Internet that's ofcourse a little bit of a no-no :). Unfortunatly Synology reverse proxy UI limitation doesn't provide redirects...

Can't comment about LE certs. I don't use it because (again....) Synology's UI limitations doesn't make it possible to request wildcard certs.
 
Upvote 0
21
5
You are aware that you are making it posible to connect HTTP only to your application? This doesn't do redirect to HTTPS. Over the Internet that's ofcourse a little bit of a no-no :). Unfortunatly Synology reverse proxy UI limitation doesn't provide redirects...

Can't comment about LE certs. I don't use it because (again....) Synology's UI limitations doesn't make it possible to request wildcard certs.
I always thought I have to do that. So nobody can access the application with http. Every http acess gets redirected to my https and then gets redirected to the localhost.
 
Upvote 0

Rusty

Moderator
NAS Support
2,814
861
www.blackvoid.club
NAS
DS412+, DS718+, DS918+, 2x RS3614RPxs+ with expansions
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
I always thought I have to do that. So nobody can access the application with http. Every http acess gets redirected to my https and then gets redirected to the localhost.
This is how you can configure redirect on Syno if you are using RP - HTTP to HTTPS redirect

In there i wrote my music.mydomain.com subdomain. But this sadly fails
I might be wrong but setting SAN values for a 3rd party domain could/should work, unless the root domain is synology.me then you will not be able to make it work.

Considering that you are going in direction of subdomains, once you do publish a cert and down the line you want some more subdomains that are not covered with the current cert, you will have to publish a new one.
To get around that use wild card one. As @Shadow said Syno UI does not work with 3rd party wild certs in terms that it will make you a certificate, but you can import one that you have created.

If you want to look into that, have a read here (docker support needed for this) - Let's Encrypt + Docker = wildcard certs
 
Upvote 0

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Top