[GH-ISSUE #1243] Redirection Error with subdomain (mail.company.selfhost.eu) #1011

Closed
opened 2026-02-26 06:35:25 +03:00 by kerem · 3 comments
Owner

Originally created by @MyKeySoftMK on GitHub (Jul 17, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1243

Checklist

  • Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?
    • Yes
  • Are you sure you're not using someone else's docker image?
    • Yes
  • Have you searched for similar issues (both open and closed)?
    • Yes

Describe the bug

I have a DynDNS-Provider (selfhost.eu). My Hostname is company.selfhost.eu - In NPM I have configure company.selfhost.eu for my first PC and it works fine.

Now I want create a second PC to access. I create a new sub-domain calls mail.company.selfthost.eu. I create a new Proxy Host in NPM. When I access the new domain then i see a error:

"Error: Redirection error"

Nginx Proxy Manager Version

2.9.4

Expected behavior

I want to access the second PC with my domain "mail.company.selfthost.eu"

Operating System

Debian 10

Originally created by @MyKeySoftMK on GitHub (Jul 17, 2021). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1243 <!-- Are you in the right place? - If you are looking for support on how to get your upstream server forwarding, please consider asking the community on Reddit. - If you are writing code changes to contribute and need to ask about the internals of the software, Gitter is the best place to ask. - If you think you found a bug with NPM (not Nginx, or your upstream server or MySql) then you are in the *right place.* --> **Checklist** - Have you pulled and found the error with `jc21/nginx-proxy-manager:latest` docker image? - Yes - Are you sure you're not using someone else's docker image? - Yes - Have you searched for similar issues (both open and closed)? - Yes **Describe the bug** <!-- A clear and concise description of what the bug is. --> I have a DynDNS-Provider (selfhost.eu). My Hostname is company.selfhost.eu - In NPM I have configure company.selfhost.eu for my first PC and it works fine. Now I want create a second PC to access. I create a new sub-domain calls mail.company.selfthost.eu. I create a new Proxy Host in NPM. When I access the new domain then i see a error: "Error: Redirection error" **Nginx Proxy Manager Version** <!-- What version of Nginx Proxy Manager is reported on the login page? --> 2.9.4 **Expected behavior** <!-- A clear and concise description of what you expected to happen. --> I want to access the second PC with my domain "mail.company.selfthost.eu" **Operating System** <!-- Please specify if using a Rpi, Mac, orchestration tool or any other setups that might affect the reproduction of this error. --> Debian 10
kerem 2026-02-26 06:35:25 +03:00
  • closed this issue
  • added the
    stale
    bug
    labels
Author
Owner

@chaptergy commented on GitHub (Jul 17, 2021):

Unfortunately that's not much information to guess what might be happening. Selfhost does support subdomains for your subdomain I assume? And you have set both domain records to have the IP of your first PC running NPM? You can take a look into the npm docker container into the folder /data/logs and see if the error log and access log contains any useful information. And whether the request acutally gets to NPM and is not just answered by selfhost.

<!-- gh-comment-id:881854465 --> @chaptergy commented on GitHub (Jul 17, 2021): Unfortunately that's not much information to guess what might be happening. Selfhost does support subdomains for your subdomain I assume? And you have set both domain records to have the IP of your first PC running NPM? You can take a look into the npm docker container into the folder `/data/logs` and see if the error log and access log contains any useful information. And whether the request acutally gets to NPM and is not just answered by selfhost.
Author
Owner

@github-actions[bot] commented on GitHub (Mar 8, 2024):

Issue is now considered stale. If you want to keep it open, please comment 👍

<!-- gh-comment-id:1984906170 --> @github-actions[bot] commented on GitHub (Mar 8, 2024): Issue is now considered stale. If you want to keep it open, please comment :+1:
Author
Owner

@github-actions[bot] commented on GitHub (Apr 20, 2025):

Issue was closed due to inactivity.

<!-- gh-comment-id:2816950813 --> @github-actions[bot] commented on GitHub (Apr 20, 2025): Issue was closed due to inactivity.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#1011
No description provided.