Synology & Strato multiple subdomains

Currently reading
Synology & Strato multiple subdomains

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
 
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
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
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.

Similar threads

Maybe if you can explain the bit you're confused about? I jumped to that location in the video and it...
Replies
1
Views
464
Yep. Am on 900/900. Fortunately Fiberhop is small enough to talk turkey with, any of the big isps are...
Replies
7
Views
1,428
Howdy! After a long wait with internet companies, we've finally got our new line in to the new office. I...
Replies
24
Views
2,078
Small update from SynologySupport Center - my ticket is "I can`t embedded MailPlus WEB with iframe" (Mail...
Replies
1
Views
1,212
  • Question
Good point. I assumed it was 24 due to lack of details, but again, good point.
Replies
3
Views
1,158
setup up a local DNS server and point DOMAIN1.com, DOMAIN2.com and DOMAIN3.com to your Synology IP. I am...
Replies
1
Views
1,255

Welcome to SynoForum.com!

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

Registration is free, easy and fast!

Back
Top