Using nginx with isp router internal router and cloudflare

What is the name of the domain?

What is the issue you’re encountering

when i type in my actual domain it takes me only to the isp admin panel

What steps have you taken to resolve the issue?

I have all ports needed port forwarded to my internal router (from isp router)
then i have them forwarded to nginx. not sure what i am missing.
my isp is tmoble so its an fx2000-3 router my internal router is a netgear nest router

May I ask if you’re trying to expose your domain name to the Internet and server the content from your device (desktop PC, notebook …) ? :thinking:

Did you setup your hosts files locally, therefrom whenever you type your domain to your Web browser, it goes only locally but not outside to the internet?

Otherwise, how did yo map your ports?

You’re getting the Admin page of the router device?

What ports are you using? Are they compatible with Cloudflare?

I’m doing cloudflare dns settings point to my ip address, on my isp router I have the necessary ports forwarded to my internal router, then I have those ports forwarded to nginx, . However I type in my website and it takes me only to my isp administrator panel,

so i have from cloudflare dns points to mydashboard.mywebdomain.com to my personal ip address. on my isp router i have all the ports forwarded to my net gear router. on net gear router i have the ports all forward to my nginx port.
in nginx i have the said domain point to the proper internal ip address and port.
but everything just goes to isp admin panel instead of the proper ip and port in my network. gosh i hope this makes sense.

Thank you for feedback.

Have you got DNS records for domain.com pointing to the IP … wait a bit :thinking:

Sounds like a NAT issue to me.

Otherwise, your Web server (Nginx) is not configured to serve separate and have virtual hosts?; therefrom responding always with the “first domain” added despite you might have dashboard.domain.com domain.com and www.domain.com DNS records, or even serving another someotherdomain.com from your device :thinking:

Are the locations for sub.domain.com and domain.com defined correctly for each?
Are you serving sub.domain.com and domain.com from the same ports, correct?

Have you got the SSL certificate for each of them already, or covering all of them with one, at your server, or only one has SSL while the others don’t have it (no HTTPS)? Sometimes, if one domain has got SSL, while other’s not, if you’re doing some redirect it could cause issue or load content from that one particular with the SSL.

See below on what I am referring:

i am using nginx reverse proxy manager with open media vault.
im not using nginx with commond prompt. these tips seem to go in and change what is being set up in nginx proxy manager

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.