Netgear router blocking website when using internal network
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Netgear router blocking website when using internal network
I have a webserver. My site is accessible from outside the network on which Apache lives but internally, a request for the web page brings up the username and password box for my Netgear router. I'm sure that the answer is staring me in the face (as usual!!) but I can't see it. There's no problem accessing the site using the local address of the server.
Thanks in advance!!
If I'm hearing your right, you have a webserver NAT'd on a local subnet behind a router, and you use the router to forward poirt 80 to the server (very common setup). If you type www.insertwebsitenamehere.com externally it connects fine, but if you do so internally it connects you to the routers admin console.
Sounds like this might be a DNS problem. Do you have a DNS server on your internal network that is somehow resolving www.insertwebsitenamehere.com to your routers INTERNAL address?
That makes sense - but I have no memory of setting up a DNS server anywhere on the network. I'll have a look around though. I'll let you know. Cheers slightcrazed.
Hmmmm! If the Netgear Router is pointing port 80 to my Apache server, does that mean that the DNS server is on the Apache box. Nothing else is pointing anywhere on the router (apart from ports 22 and 10000). How would I find the DNS Server? I was playing around with ddclient last week - could that be it?
Very well could be. DDclient does dynamic DNS updating.
I apologize though, it is monday, and it is early, and the coffee hasn't kicked in yet. The client that you are using to browse to the site on the internal network, where is it pointing for DNS?
It's Tuesday now....and I'm three hours in to my working day!!
I still have my problem though. I removed ddclient from the Apache box. I still can't load the website from inside the network. The page loads using its local address.
The client that you are using to browse to the site on the internal network, where is it pointing for DNS?
I'm somewhat in dark here. Galeon/Mozilla/K-Meleon etc are all default setups - if that's what you mean. How could I find out what is pointing at what? Is it /etc/hosts ???? Or ...... err! ????
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.