Nginx Proxy Manager - DNS address could not be found after setting up DNS Records & Proxy
I followed this tutorial to setup NGINX Proxy Manager for my home lab. It's setup to only be accessible from within my network.
I have done the following:
Purchased domain name from NameCheap
Set the Nameservers in NameCheap to direct to my 2 Cloudflare Nameservers
Set A and CNAME records in Cloudflare
Configured SSL Certificate in Nginx Proxy Manager
Added a Proxy Host
Here is my issue: when trying to go to [myDomain.com]; I get an error saying that it can't be reached.
I'm running this via Docker on a Synology. I also run a pfSense firewall.
My docker container is using the 'bridge' network, which all of the other containers I'm running are using. None of the Docker containers can be reached if I set the Destination in NPM to my host's IP address, or the Docker container name.
DNS records need to point at LAN IP of the reverse proxy.
If proxy and destination are both running as containers on the same host, then place them together in the same Docker network and use the container name of the destination as hostname, and use the internal port of the service, not the port you might have mapped to the host.
Why not make this a lot easier and share exact details? NPM settings, Docker compose files, log output?