I’ll bet it’s not open (if it was, it’d probably have been because you opened it, and you’d know). But you could grab nmap
and run nmap -p 5000 YOUR_DDNS_NAME.YOUR_DDNS_PROVIDER.X
and see if it comes back with a result, if you wanted to double check.
Actually, looking over, a few things…
1.
redir /synology https://synology.YOUR_DDNS_NAME.YOUR_DDNS_PROVIDER.X
Instead of this structure, in my Caddyfile above you’ll see I went with
example.com/subdomain {
redir / https://subdomain.example.com
}
The reason being that the former won’t catch example.com/subdomain/
(only example.com/subdomain
, no trailing slash), whereas the latter catches both (and anything else, e.g. example.com/subdomain/foo/bar
). This one’s up to you if you care about that.
2.
I know I told you earlier to redir / /sonarr
, but I’ve got a feeling that’s going to win over everything else and cause a redirect loop, because the form redir /
is a catch-all and
So you might need to use this structure instead, so only requests for EXACTLY /
get redirected:
redir 301 {
if {path} is /
to /sonarr
}
3.
radarr.YOUR_DDNS_NAME.YOUR_DDNS_PROVIDER.X {
redir /radarr/
}
This structure is a redirect loop. /radarr/
is relative so it never breaks out of the subdomain, redirecting forever. You want this instead:
radarr.YOUR_DDNS_NAME.YOUR_DDNS_PROVIDER.X {
redir YOUR_DDNS_NAME.YOUR_DDNS_PROVIDER.X/radarr/
}
Or just ditch those three redir blocks entirely and don’t hand out service.example.com
style subdomains (except for synology
).