[GH-ISSUE #1642] NPM as DNS for pointed base domain #1228

Closed
opened 2026-02-26 06:36:19 +03:00 by kerem · 1 comment
Owner

Originally created by @itsKV on GitHub (Dec 9, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1642

I have pointed domain name sub.domain.com to NPM as base domain name. But while defining multiple services built on same base domain name, e.g service1.sub.domain.com, service2.sub.domain.com, blog.sub.domain.com, mysql.sub.domain.com, api.sub.domain.com I have to explicitly modify my DNS record every time time for each service as I am using external nameServer, say Cloudflare for the DNS management.

Is there any way so that we only have to point base domain sub.domain.com and rest of the service domains will be taken care by NPM itself at the time of defining proxy hosts on NPM dashboard????

As stated in above description, I would like to keep third party dns proxy like Cloudflare ahead of sub.domain.com for security reason.

btw, thank you for the awesome project @jc21. 👍 #love

Originally created by @itsKV on GitHub (Dec 9, 2021). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1642 I have pointed domain name _sub.domain.com_ to NPM as base domain name. But while defining multiple services built on same base domain name, e.g _service1.sub.domain.com, service2.sub.domain.com, blog.sub.domain.com, mysql.sub.domain.com, api.sub.domain.com_ I have to explicitly modify my DNS record every time time for each service as I am using external nameServer, say Cloudflare for the DNS management. Is there any way so that we only have to point base domain sub.domain.com and rest of the service domains will be taken care by NPM itself at the time of defining proxy hosts on NPM dashboard???? As stated in above description, I would like to keep third party dns proxy like Cloudflare ahead of _sub.domain.com_ for security reason. btw, thank you for the awesome project @jc21. 👍 #love
kerem 2026-02-26 06:36:19 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@chaptergy commented on GitHub (Dec 9, 2021):

Just create a wildcard dns record for *.sub.domain.com and all subdomains of sub.domain.com will be sent to NPM.

<!-- gh-comment-id:990084177 --> @chaptergy commented on GitHub (Dec 9, 2021): Just create a [wildcard dns record](https://en.wikipedia.org/wiki/Wildcard_DNS_record) for `*.sub.domain.com` and all subdomains of `sub.domain.com` will be sent to NPM.
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#1228
No description provided.