LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-21-2007, 10:55 AM   #1
jason2713
LQ Newbie
 
Registered: Mar 2007
Posts: 3

Rep: Reputation: 0
setting up intranet fedora 5/apache/winxp


Hi All -

My first post here, and I'm sure it wont be my last

I am trying to set up an intranet site, I've searched far and wide, yet nothing seems to help.

The scenario is:

1) all client machines have win xp pro OS
2) the server is set up with apache and I've followed all the steps for enabling http through the firewall and such (add/remove software)

3) I have my intranet page done, tested, its ready to be implemented on the fedora 5 machine with apache


It is my understanding i need to edit the host file on each client machine to point to my intranet page so they do not have to input the IP addy of my web sever, correct?

so my host file will have an entry like:

192.168.1.1 joeblow.com

Secondly, on the apache server, i must go to the etc folder and edit hosts file, however, ive only found documentation on an internet page, not an intranet page...not sure how this will differ..all my attempts have been unsuccessful

after editing both host files, errr, then what? im a noob, forgive me
 
Old 03-21-2007, 12:47 PM   #2
mether
Member
 
Registered: Mar 2007
Distribution: RHEL, Fedora, Open Suse
Posts: 151

Rep: Reputation: 31
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 ).

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.
 
Old 03-21-2007, 01:08 PM   #3
jason2713
LQ Newbie
 
Registered: Mar 2007
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
Old 03-22-2007, 01:51 PM   #4
jason2713
LQ Newbie
 
Registered: Mar 2007
Posts: 3

Original Poster
Rep: Reputation: 0
still having problems getting this intranet working...linux really is not my bag, so im sure its something stupid im doing.


all the host files have been edited on the XP pro machines to point to my web server.

apache is enabled.

i edited the host.conf file in /etc/ folder however not sure what exactly to put in there. I tried a number of things, none of which worked.

i looked at the httpd.conf file as well, can we say overwhelming amount of crap to look at?

my goal is to basically put in http://joeblow.com and have my intranet page come up.

no article on google even comes close to what im trying to do...and its so simple...i could do it on a windows based machine, but linux is just throwing me for a loop.

any help is appreciated.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 5 Main os vmware 5 guest os winxp, Help setting up serial ports o lizard_king825 Linux - Hardware 1 08-06-2008 06:01 AM
Need help in setting up connectors between Apache and Tomcat on Fedora chillyroll Linux - Software 0 10-27-2006 07:49 AM
Problems setting up an intranet horaliar Linux - Newbie 7 06-14-2006 04:20 PM
Setting Up APACHE on FEDORA CORE 4 gbiyer Linux - Newbie 7 01-24-2006 02:05 PM
setting up intranet site (eg: http://something) mhuggins Fedora 2 01-22-2004 05:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration