LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-02-2009, 09:25 PM   #1
entsoft
LQ Newbie
 
Registered: May 2009
Location: Las Vegas, NV
Distribution: Fedora 8
Posts: 2

Rep: Reputation: 0
How do I set the home page for website visitors on a fedora 8 server?


I was asked by a client to prep his newly acquired dedicated server, and load his website on it. I setup successfully SSH and FTP users, but when going to the site on a browser, I cannot get to any page at all. It sends me to some default search page with various connections available with somewhat related names. I created a /var/www directory and placed a test index.html file in it. It does not find it. What is it I am doing wrong or not doing? Thanks for the help.
 
Old 05-02-2009, 11:10 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,492

Rep: Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488
I'm surprised you had to create /var/www directory. What does your Document Root show in the httpd.conf file of apache? Many systems set this to /var/www/htdocs. My Fedora Core 6 has /var/www/html.

Did you start apache? /usr/sbin/apachectl start

What are the pages you get sent to? Usually you just get a page saying "IT WORKS:

Last edited by yancek; 05-02-2009 at 11:12 PM.
 
Old 05-04-2009, 07:20 PM   #3
entsoft
LQ Newbie
 
Registered: May 2009
Location: Las Vegas, NV
Distribution: Fedora 8
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you for your help. It works now. I did not have apache configured properly. Your reply put me in the right direction.
 
  


Reply

Tags
fedora 8



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
My website home page php file was changed mohtasham1983 Linux - Security 4 04-22-2009 05:12 PM
How to setup a blog for visitors of my Linux website. pching General 4 10-28-2008 02:42 PM
set up proxy server on hosted website secretlydead Linux - Server 1 09-06-2008 04:06 AM
Can I set up my old computer as a website server? darthyoda3 Linux - Server 5 03-04-2008 08:24 AM
how can i set a blank home page on konqueror? alexii86 Linux - Software 4 10-15-2003 08:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:29 PM.

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