Quote:
Originally Posted by mether
From what I understand you wanna show up a page on all the clients from a local web server. You are correct on the part of setting up the clients. The host file is first read when ever a name to IP resolution is made ( although you can change this ).
|
great so the clients are good to go! woo hooo!
Quote:
Originally Posted by mether
However for the webserver itself you have make a simialr entry in /etc/hosts file but it must correspong to the entry in the httpd.conf file. The listen entry and the wen site name used in httpd.conf must be resolved by the system itself.
If you can look at the httpd access.log file you can get the exact error messages.
|
Yea I read I had to edit the httpd.conf file as well, however, the literature I was reading was setting up an internet site, not internal. The steps it lists are as follows:
1) edit /etc/hosts file to include a line containing your servers IP, your domain name, and your short domain name
2) edit /etc/sysconfig/network and make sure the NETWORKING=yes and HOSTNAME=joeblow.com
3) edit /etc/httpd/conf/httpd.conf scroll to #ServerName and enter joeblow.com (registered DNS name) or server's IP addy (if config to get that)
4) Scroll down to UseCanonicalName Off and change off to ON.
5) scroll down to Options and change Options Indexes FollowSymLinks to SymLinksifOwnerMatch ExecCGI MultiViews
6) Change DirectoryIndex index.html index.html.var to DirectoryIndex index.html index.html.var index.shtml index.cgi index.php index.phtml index.php3 index.htm home.html welcome.html
7) Under AddType application/x-compress .z and AddType aplication/x-gzip .gz.tgz lines add AddType application/x-httpd-php .php .phps .php3 .phtml .html .htm .shtml .fds
8) click save
im convinced most of that is for the internet and i have a real basic html intranet, so i doubt half that crap ive gotta do. I just want my end user to open a browser, type
http://joeblow.com
and the intranet page comes up. Simple as that haha yea right