LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 02-05-2007, 07:16 PM   #1
lithiumtonic
LQ Newbie
 
Registered: Feb 2007
Posts: 3

Rep: Reputation: 0
can't stop apache's test page from displaying


Hello everyone and thank you in advance. I am very new to linux but am a very advanced computer user. anyway here is my problem. i installed apache web server on fedora core 6 and cant seem to get my index.html to display it just keeps displaying the default test page. i made sure my directory is correct and it is and in the folder i have index.html. but it wont display. it does when i use localhost on the linux machine but not when i connect to it from another computer via ip. any help would be amazing.
 
Old 02-05-2007, 08:42 PM   #2
digen
Member
 
Registered: Dec 2005
Location: India
Distribution: Ubuntu Feisty Fawn
Posts: 107

Rep: Reputation: 15
Configure a IP virtual host and put your files in the DocumentRoot which you configure in the virtual host section.

Then try accessing the server with the IP and it will work.
 
Old 02-05-2007, 09:04 PM   #3
lithiumtonic
LQ Newbie
 
Registered: Feb 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Im not really sure how to do that could you explain a bit more. thanks for the help also!!
 
Old 02-05-2007, 11:12 PM   #4
kvnband
Member
 
Registered: Jan 2004
Distribution: Suse 10.2
Posts: 107

Rep: Reputation: 15
It's very simple. Follow the information provided at:

http://www.onlamp.com/pub/a/apache/2...24/vhosts.html

You really only need to add two lines to the httpd.conf file, restart apache, and you'll be good to go.

Code:
<VirtualHost *>
   ServerName 192.168.1.8 (or whatever the IP is)
   DocumentRoot /home/user/public_html (or whatever document root is)
</VirtualHost>
Kevin
 
Old 02-12-2007, 08:44 AM   #5
lithiumtonic
LQ Newbie
 
Registered: Feb 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Thank you both I very much appreciate the help.
 
  


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
http://localhost:631 Loops Instead of Displaying Page gakusei Linux - Networking 7 11-23-2006 10:51 AM
Apache Server only displaying "Test" page. Fedora Core 4 Tear Syden Linux - Newbie 2 03-17-2006 07:40 PM
apache's global default page marsguy Linux - Software 2 05-31-2005 06:31 AM
I cant change the default test page in apache server to add my page.y nhemapriya Linux - Newbie 3 05-13-2004 12:35 PM
Thanks | CUPS test page ? niidea LinuxQuestions.org Member Intro 5 06-29-2003 06:09 PM


All times are GMT -5. The time now is 07:49 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration