Link to home
Start Free TrialLog in
Avatar of jvv
jvv

asked on

Different internal and external IP address

I have a website which runs on a server within our office network.
In the office I can browse that website using http://192.168.0.1, and outside the office I have to use http://external-ip. The ADSL-modem/router routes all port-traffic to the right machine 192.168.0.1.
From within the network the external ip-address is unreachable.

Recently I have registered a domain-name for that external ip-address.
Currenly I have a solution with two hosts files and at startup I switch to the right hosts file depending on my location.
The question is: how can I configure my network so that I can use the domain name internally without changing my hosts file all the time?
ASKER CERTIFIED SOLUTION
Avatar of Pete Long
Pete Long
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
All of which should work for you, if you have a Win2K server in your environment.

If you are using anything else, like Linux or NetWare or whatever, you should do the same thing, except you need to do it within the framework of the DNS service provided on the server platform.  On Linux or Netware it would probably be the name daemon (named.)

If you don't know how to configure it, RTM.
ShineOn

not like you to put Novell second??  ;0)

Or are you praying for version 7.0 (the linux kernel version)

Pete :^)
Pete -

Novell announced today that they are acquiring SUSE.  Linux IS Novell...

I mentioned Linux and NetWare, not Linux and Novell. ;)
>>Novell announced today

Saw that coming, I was at the Leeds Roadmap for Netware the other month :0)

Pete
Avatar of jvv
jvv

ASKER

Great!
With the help of that website I succesfully configured my DNS server.
Thanks a lot.
Good News, glad I could help you out

and thank you!

Pete