Hey everyone, I’m new to this whole hosting thing. I’ve got a QNAP NAS and I’m trying to set up a reverse proxy using npmplus by zoeyvid. I bought a domain from Porkbun and set up A records for my domain and www subdomain. I also added a CNAME for npm subdomain.
I installed Portainer on my NAS and then npmplus through it. In npmplus, I set up a proxy with my NAS IP and port 81. I can access npmplus with this combo.
I tried importing SSL certs from Porkbun (showed as online in npmplus) and also tried Certbot (failed with some domain/IP issue). I can’t load the page using either HTTP or HTTPS.
I’ve forwarded ports 80 and 443 on my router to the NAS IP. When I enter npm.domain.com, it changes to the IP and port, but the page won’t load.
Any ideas where I might be going wrong? This is driving me crazy! Thanks in advance for any help!
I’ve been through a similar struggle setting up reverse proxies, so I feel your pain! One thing that helped me was double-checking my DNS settings. Make sure your A records are pointing to your public IP address, not your local NAS IP. Also, give DNS changes time to propagate - it can take up to 24 hours sometimes.
For SSL, I’d recommend sticking with Let’s Encrypt through Certbot. The domain/IP issue you encountered might be related to your DNS not being fully propagated yet. Try waiting a bit and running Certbot again.
Another tip: temporarily disable your firewall and any VPNs to rule out any interference. And don’t forget to check your QNAP’s built-in firewall settings too.
Lastly, try accessing your proxy setup from a device not on your local network, like your phone with WiFi off. Sometimes local DNS caching can mask issues. Hope this helps you troubleshoot!
Considering your setup, I’d suggest verifying your QNAP’s network settings. Ensure your NAS has a static IP within your local network, and this IP matches what you’ve configured in npmplus. Also, check if your router supports hairpin NAT or NAT loopback. Without this, accessing your domain from within your local network might fail.
For SSL, try using npmplus’s built-in Let’s Encrypt integration instead of importing certificates manually. This often resolves certificate issues more smoothly. If problems persist, temporarily disable HTTPS and test with HTTP to isolate the issue.
Lastly, use online tools like ‘whatsmydns.net’ to check if your DNS records are resolving correctly worldwide. This can help identify if the problem is with your local setup or broader DNS propagation.
hey man, i had similar issues. make sure ur router’s NAT is set up right. sometimes the problem’s there. also, double-check ur firewall settings on the NAS. they can be tricky. have u tried clearing ur browser cache? that fixed it for me once. good luck!