LinuxQuestions.org
Visit Jeremy's Blog.
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
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,679

Rep: Reputation: 733Reputation: 733Reputation: 733Reputation: 733Reputation: 733Reputation: 733Reputation: 733
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


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
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


All times are GMT -5. The time now is 07:20 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