Hi. I am running FC4 and I am trying to set up an intranet web server. So far, i installed Apcahe 2.0. Everything works to the point where i have created webpages. The problem is computers within my network cannot see the webpages without typing in the IP address (ie: http://192.168.0.4). I would like the computers to access my webpages by typing in a real name (ie: http://apache.server.com). Any help would be appreciated.

Also...i tried adding the following line to the my Windows Client's HOSTS file:

192.168.0.4 apache.server.com

That didn's do anything (cannot find the page).

Do you have a name server running so when you type in yourdomain.com it can direct the request to the proper IP?

If you added that line to the windows hosts file, you should be able to connect to the WebServer through the address. Question: Do you have the webserver set to listen on that ip on port 80?

A quick way to check this on linux would be using the following command:
netstat -anp | grep :80

This should return a line like this:
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 25802/httpd

You can also just type the ip address in the web browser and see if it pulls up a page. If it does, I would recommend configuring bind on your linux server to be an internal nameserver as well, and use that server to resolve names for your internal network.

They're on Windows, so the commands posted won't work ;)

errr, did you miss this part of his post?

"Hi. I am running FC4 and I am trying to set up an intranet web server."

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.