Web Hosting Talk







View Full Version : Internal Network & Hosts


richardparry
03-23-2002, 07:51 PM
Hi All,

My current setup involves a router, switch and server.

All the host headers on my server work fine (im using Windows 2000 Server, with a static internal IP.

The router is configured with port forwarding.

Here is my problem, when I type any of my domain names that are hosted on the server into a local PC on the same network as the router, I am presented with the routers internal web interface login.

When I use a network outside of my own, e.g, company dialup, ADSL etc, the hosts resolve fine and dandy.

Is there any way I can view my website's internaly ? I cannot turn off the routers web interface.

Is it possible to edit the HOSTS file to make this work ???

Ta

allan
03-23-2002, 10:40 PM
It sounds like you have port forwarding turned on for the external interface, but not the internal interface...can you apply the same rules to the interneral interface?

jambler
03-23-2002, 11:05 PM
for your internal ip addresses are you using NAT address fields? or valid external internet ip addresses?

richardparry
03-24-2002, 08:55 AM
Hi !

I dont have an option regarding the port forwarding.

I have 1 static internet IP with NAT for internal workstations.

When I type www.mydomain.com it contacts the DNS server (external), gets the static internet IP, as it should, then comes back in, but I get the routers login which I cannot disable for administration purposes...

Would it not be possible to edit the HOSTS file and put the internal servers IP

e.g.

192.168.0.3 www.mydomain.com ?????

richardparry
03-24-2002, 10:03 AM
I edited the HOSTS file and it all works now !

Should have tried that at the beginning !