loopback within intranet to access local web pages

Im hoping i can get some guidance with this.

We have a situation where we need to access our webserver on our private network from client workstations on that same network. At this stage it is possible to do just that by typing the network IP address of that machine and we get to see our webpages, but when we type the domain name or our website ie www.somewhere.com it goes nowhere.

As a temporary fix, i have ammended the hosts file on each of the client workstations so that it binds the domain name to the network IP of the webserver, but i was hoping for a better solution than that.

Is there a way that i can configure our router firewall rules etc so that if a pc is on the network and user types in the domain name the router loops back to the webserver.

As you could imagine it is a real pain when laptops go abroad, we have to alter their hosts file everytime when they leave and then when they come back.

eleconAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Irwin SantosComputer Integration SpecialistCommented:
Go into DNS manager..

First create your reverse zone if not done already

Right click on REVERSE ZONE, and then create the zone using 192.168.1.
next right click on FORWARD ZONE
then choose primary and enter in mysite.com
once the forward zone is created, select THAT zone (mysite.com) and right click
add an A record choose the default settings and make sure there is a checkmark on create associated PTR record
right again on THAT zone (mysite.com), choose CNAME (canonical nae), enter 'www' as the alias, and the IP address 192.168.1.x.  (make sure you have that last "." after the 1.) where x is your server.
right click on the server and choose update server datafiles.
0
eleconAuthor Commented:
ok, this webserver is accessible from the internet and has DNS already set up.
I have set up the reverse lookup zone (1.168.192.in-addr.arpa)
The forward lookup for mysite.com is already existing and working with the domain IP address, and when i try check create associated PTR record it complains with:
warning:The associated pointer (PTR) record cannot be created, probably because the referenced reverse lookup zone cannot be found.

Not quite sure which way to go now....
0
Irwin SantosComputer Integration SpecialistCommented:
oh-oh...I was thinking that your DNS server was on your LAN.

What router do you have?  perhaps you can create a static IP route
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

eleconAuthor Commented:
I have a Draytek Vigor 2800VG.

I hope that helps??
0
Irwin SantosComputer Integration SpecialistCommented:
Look in your User's manual...and turn to page 28 "Add Static Routers to Private & Public Networks"
0
eleconAuthor Commented:
ok, i have read it and read it and it still baffles me.

All of our pc's are on the same subnet as the webserver / server.

I cant understand how a call to mysite.com (public ip) can be routed to the local network (private ip) address of the webserver.

if you can explain with reference to the manual it might make it a lot easier.
0
Irwin SantosComputer Integration SpecialistCommented:
add the static route of your server's LAN IP to the table...
0
FrabbleCommented:
Your choices without using hosts files are:

- Another name server the internal machines use with the host entry mapped to the private address

Use another router to provide a separate non NAT DMZ network for the server, or

- Cisco routers will NAT translate DNS replies from an external name server if there is a static address entry for the server mapping the external address to the internal address
- Intertex routers have special handling to access internal servers using their WAN address.
0
eleconAuthor Commented:
thanks for all your help, i'll keep trying
0
Irwin SantosComputer Integration SpecialistCommented:
@elecon...did you forget us?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Irwin SantosComputer Integration SpecialistCommented:
thank you for coming back, but perhaps you may want to indicate what comment was the correct answer..
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.