Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

web server

Status
Not open for further replies.

AccessXP

IS-IT--Management
Jan 29, 2002
132
Question?

The users on the network cannot type the domain name and see the web page. Instead they must type the ip 192.168.0.252. Could someone tell me what I need to change to fix this please.


Thank you know for any help.
 
You need to have a DNS entry on a DNS server on the network to resolve the name to an IP.
 
So do I make one of the DNS entries the servers ip?

Where in linux is this accomplished?
 

Depending on how your network is designed you should really run a caching or forwarding name server and then point your clients to that.

Google for "BIND caching name server"

Cheers
 
We're assuming that this is NOT a fully qualified domain name. If it is an FQDN then the problem may be that your router is not forwarding http traffic (port 80) to 192.168.0.252.
 
Well, you dont really need to configure DNS locally....If I didnt have more than one device to configure for use with DNS, I wouldnt bother with setting up DNS and a zone file. I would just set my .com dns entry to the WAN address of your router, and then forward port 80, as suggested to the webserver. Even apache is smart enough to figure out which vhost you are trying to query without dns.

Hope this helps.

___________________________________
[morse]--... ...--[/morse], Eric.
 
I'm thinking along the same lines as RhythmAce. But I'm assuming that it is a FQDN and that the local router just doesn't support loopback to it's own WAN IP.
 
196.168.x.x is a non-routable IP... if you're trying to access your web page from the outside world, that isn't going to work.

Meanwhile, if you just want to be able to see it from inside, the previous posts are correct. You either need a DNS entry pointing at the IP address of the server.

*** OR ***
... if you're on a relatively small network (say, less than 10 machines), you *could* do a LMHOSTS lookup on each PC.... (assuming the workstations are running Windows).

... I wouldn't do the LMHOSTS on an installation of more than a few machines, because it's a pain to maintain.



Just my $.02

"In order to start solving a problem, one must first identify it's owner." --Me
--Greg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top