mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-26 01:45:54 +03:00
[GH-ISSUE #216] cant get domain forward to work though a web domain #189
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#189
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @strid3r21 on GitHub (Oct 24, 2019).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/216
so ive got a dns address working to foward to my nextcloud server. that works
but ive also got a normal domain web adress www.example.com that has a cname dns forwarded through it.
when i go to www.example.com all i get is the nginx proxy manager defualt site. it doesnt foward it through to the nextcloud server, even tho if i just use the dns address it works just fine.
example - nextcloudexample.ddns.net > netcloud server (WORKS)
but, www.nextcloudexample.com > netcloudexample.ddns.net > nextcloud server (does not work) only sees the proxy manager defult page.
i apologize if this is a simple issue. im new at this and cant figure it out.
@chaptergy commented on GitHub (May 11, 2021):
Yes, NPM uses the Host header your browser sends to know where to send you request. So the Host header must contain the value
nextcloudexample.ddns.netfor this to work. But with a CNAME header the host still remainswww.example.comand is not actually changed tonextcloudexample.ddns.net. So NPM receives a request for the hostwww.example.com, and does not know where to route this, since a host like this does not exist. It then sends you to the default site.