www. not working
Checklist
- Have you pulled and found the error with
jc21/nginx-proxy-manager:latestdocker 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 The www. prefix is not working with my URLs.
Nginx Proxy Manager Version 2.9.18
To Reproduce Steps to reproduce the behavior:
- create url
- test url
- find that www. option will not work
Expected behavior that both url with or without the www. will work to access the site.
Screenshots
Operating System
Additional context
can you give an example?
are you trying www.mydomain.com or www.app.mydomain.com?
did you create the cname record(s) that points to the A record? or.......A records like www to MY_PUBLIC_IP.
Just because you add an entry to NPM does not mean that www. First, as @Xstar97 asked, do you have a CNAME entry setup for the domain, and
when you created the proxy host, when entering the name, did you also enter 'www. NPM does not automatically add wildcards or www, rather it uses exactly what you put. Try editing the domain, and adding 'www. will automatically work.
Hello, this is good to know. I do want it to be enabled for all of the *.domain.com addresses.
I do not have a CNAME, but instead A names pointing to the www. and non-www.
I change my proxy host in NPM and make it www.domain.com and then change my A name to a CNAME in cloudflare?
Thank you!
Hello, this is good to know. I do want it to be enabled for all of the *.domain.com addresses.
I do not have a CNAME, but instead A names pointing to the www. and non-www.
I change my proxy host in NPM and make it www.domain.com and then change my A name to a CNAME in cloudflare?
Thank you!
~~typically, i just use a single "*" CNAME that points to mydomain.com which is universal and i dont need to add XXX amount A/CNAME records.~~
this was bad advice and recommend not doing it.....
Thank you for the clarification. I didn't create a new a/cname for all of my subdomains. Only an A for domain.com and an A for www. and an A for *.
I will work to change these to a CNAME.
Thank you again!