Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-05-2007, 07:16 PM   #1
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
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
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
Registered: Jan 2004
Distribution: Suse 10.2
Posts: 107

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

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

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

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


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 Member Intro 5 06-29-2003 06:09 PM > Forums > Linux Forums > Linux - Networking

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

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