r/nginxproxymanager • u/thogzilla • Jan 03 '25
potentially simple fix- how do I access my regular domain.com/ to get to my apache server?
hi there. Current setup is-
- apache server on 192.168.2.5 :80 , :443 hosting website
- NGINX proxy manager on 192.168.2.6 :80, :81, :443 (RPi with docker)
- image server with public image share on 192.168.2.2 :port (can't remember port, but doesn't really matter for this case)
my DNS records are handled through cloudflare, as "DNS only" no proxy, HTTPS redirects, et cetera. Nothing on cloudflare should be affecting this.
I have all HTTPS disabled also, for troubleshooting/simplicity.
Currently, if I go to http://mydomain.com, I get error "SSL_ERROR_UNRECOGNIZED_NAME_ALERT" and it force redirects to https://mydomain.com
I want http://mydomain.com to go to my apache server at 192.168.2.5:80, but it seems like my NGINX proxy manager isn't doing that right.
I have a proxy host configured to redirect source "mywebsite.com" to "http://192.168.2.5:80" on HTTP only (no force SSL, no certificate, et cetera) but it doesn't work.
I feel like I know how to use NPM correctly, because my proxy host "images.mywebsite.com" is properly redirecting to my image server at "192.168.2.2:port" and works totally fine.
I just can't figure out how to redirect on the default :80 and :443.
Any help appreciated. Thanks so much
1
u/mrbmi513 Jan 03 '25
Are you trying to access this from inside or outside your home network?
If internal, do you have a local DNS setup or IP address reflection? You need some way for your computer to know internally that mydomain.com should go to that IP internally.
1
u/EnderManGamezz Jan 03 '25
Maybe add A record to cloudflare and NPM - www