• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 553
  • Last Modified:

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.

0
elecon
Asked:
elecon
  • 6
  • 4
1 Solution
 
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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
 
Irwin SantosComputer Integration SpecialistCommented:
thank you for coming back, but perhaps you may want to indicate what comment was the correct answer..
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 6
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now