Reverse proxy works but not for deeper subdomains (plex.example.com vs plex.home.example.com)

Currently reading
Reverse proxy works but not for deeper subdomains (plex.example.com vs plex.home.example.com)

The setup is:
  • DS918+ running the latest version of DSM 7
  • LetsEncrypt certificate are working at all levels and is good for example.com, *.example.com, *.home.example.com
  • DNS for resources resolves correctly at all levels
The issue:
  • Reverse proxies for any resources on *.example.com correctly route to the intended resource
  • Reverse proxies for any resources on *.home.example.com incorrectly route to the DSM login page
For example:

Reverse Proxy Nameplexplex-v2
Source ProtocolHTTPSHTTPS
Source Hostnameplex.example.complex.home.example.com
Source Port443443
Destination ProtocolHTTPHTTP
Destination Hostname192.168.1.3192.168.1.3
Destination Port3240032400
Result when visitedCorrectly taken to PlexUnexpectedly taken to the DSM login page at https://plex.home.example.com:5100/#/signin

DNS entries:

Nameplex.example.com plex.home.example.com
TypeAA
TTL300300
IP Address192.168.1.3192.168.1.3
Result when resolvedCorrectly resolvedCorrectly resolved

DSM login portal settings
  • Port (http): 5000
  • Port (https): 5100
  • Whether HTTP to HTTPS redirection is on does not change the result of the reverse proxies (I didn't expect it to, but I tested it)

What am I missing here? Is it not possible to reverse proxy for deeper levels of a subdomain on DSM 7?
 

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

  • Question
Does this only happen when you try to access packages via the 'office' links in Drive's menu? And have you...
Replies
1
Views
394
  • Question
Ofc you can make a single compose for this no problem. Personally I like to separate front end apps from...
Replies
10
Views
1,238
  • Solved
I think it was point 1 that was messing me up. And it was a simple fix, honestly. We'll have to see if I...
Replies
3
Views
1,554
I accessed to log and when I trying connect I have message: "SSTP_DUPLEX_POST...
Replies
9
Views
1,660
  • Solved
Glad it’s working. Now you can help the next person! No reward necessary 😎
Replies
14
Views
2,265
The thing is... Too many users freeload off Marius and then come to the forums for assistance. Give Marius...
Replies
4
Views
1,724

Welcome to SynoForum.com!

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

Registration is free, easy and fast!

Back
Top