2
For years I've used Comcast and have had port 80 open to a web server at my house, without issue. I switched to CenturyLink fiber last week and port 80 forwarding works and my server is also visible to the outside world.
If I am at home and on the same local network as the web server (everything connected to the same router), I cannot access the sites by using the domain names. If I sign onto a VPN or turn wireless off on my phone, I can see the site by using the domain name.
I'm at a loss. Does anyone have any idea why this would happen?
- CenturyLink fiber connection
- C2100Z modem/router combo
Can you clarify what you mean by ‘‘I cannot access the domain name when I share an external IP with the server.’’? Please do not respond in comments; [edit] your question to make it clearer and more complete. – G-Man Says 'Reinstate Monica' – 2017-11-22T02:26:50.893
You probably do not have an internet facing IP address and are therefor not routable without the ISPs NAT which doesn't forward back to your IP. Check the IP address that your router has on its "WAN" and check if you can what the ip address is of your Modem. – jdwolf – 2017-11-22T02:28:20.673
How do you know that your server is visible to the outside world? Check port 80 with porttest.net. – SpiderPig – 2017-11-22T02:44:11.573
@G-Man I've edited my question. Let me know if I'm still not being clear - it's a tough thing to try and describe. Thanks! – frankiejr – 2017-11-22T02:49:44.343
@SpiderPig I can access the site by domain name if I sign onto a VPN or use my phone and turn off wireless (so I'm on the cellular network instead of the local wireless connection). – frankiejr – 2017-11-22T02:50:50.747
So you’re saying that, from another computer on the same LAN, you’re trying to access your server using its external address? kicken’s answer may be right; your router could be failing to handle the loopback. The problem could also be in the ISP configuration. Try reading the below, and then talk to your ISP. They may be able to fix it for you, or at least tell you that it’s under their control and they won’t fix it.
– G-Man Says 'Reinstate Monica' – 2017-11-22T04:02:13.300See also Port Forwarding from inner network to inner network (hairpin NAT), Port is open, but can’t access it via external IP address, Can’t access local resource from WAN IP?, What is Carrier Grade NAT (in human-readable language!)? and Set up a web server behind a Carrier Grade NAT.
– G-Man Says 'Reinstate Monica' – 2017-11-22T04:02:19.410This will only work if your router supports NAT Reflection/NAT Loopback/NAT Hairpinning. Most consumer grade routers don't.
– DavidPostill – 2017-11-22T11:23:46.263