Using nginx proxy manager on a netlify managed domain?

I’m curious if there is a guide out there or docs that explain my usecase.
I have a Namecheap domain. I have the DNS settings set up as “custom DNS” and I have the netlify nameservers there.
All of my DNS configs are happening on netlify (all of my A & TXT records and all of my subdomains are there).
I have a production site hosted on Netlify and this is why I’m doing this.
Recently, I encountered a challenge. I’m using Nginx Proxy manager to point some local services to some custom subdomains. This works well and I’m able to go to mydomain.com instead of 192.168.0.50:884 etc. However, if I try to generate an SSL certificate from nginx with a DNS challenge, it looks like netlify is not listed as an option under DNS providers.
If I use Namecheap, it means, I have to switch namecheap DNS management back to basic and remove the netlify nameservers, which takes down my netlify site.
Is there a way around this, or do I need to get additional domains?

Not sure why your Netlify site would go down. As long as you configure your DNS at Namecheap to use A + CNAME records to point your apex + www domain to Netlify, it should work, right? Or am I missing something?

Hi, I have no idea what what an apex+ domain is. I set up the site by adding the netlify nameservers as shown on this guide: Setting up Domain with Namecheap & Netlify - DEV Community

If there’s a better way I’m open to trying.

Simply put, you’ve the following options:

  • In your domain registrar, remove the default nameservers and replace those with the ones provided by Netlify. Then, make any further changes to the DNS that you want in the DNS management UI on Netlify.
  • OR keep using the default nameservers. In your domain registrar’s DNS settings, add the following records:
Type: A
Host: @
Value: 75.2.60.5

Type: CNAME
Host: www
Value: subdomain.netlify.app

This way you can continue using your domain regiastrar’s DNS management. In your case, I believe you need to go with the second option.

Thank you!
I ended up moving the site to GitHub pages but this is good info to have if I want to move back to Netlify in the future.

1 Like