LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-11-2009, 06:26 AM   #1
black2night
LQ Newbie
 
Registered: Feb 2009
Posts: 2

Rep: Reputation: 0
Files Exist but I'm getting 404 page. Please i need you help urgently


I'm hosting my website on a Linux server and it used to be working fine but now I'm getting the HTTP 404 error page and I tried to check the permissions and nothing has changed,I also used the server IP address in the URL to make sure it's not a DNS problem and it's still the same problem.Any help will be appreciated. Thanks
 
Old 02-11-2009, 06:34 AM   #2
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 66
The first test you'll have to do is checking if the server is still running.
On the server itself, check the server (Apache?) is still running; the command should be “/etc/init.d/httpd status” or something like that. Then try and connect to the web site locally (using a local user on the serveur, but not root).

It would help a lot if you could tell what distribution and what software you use.

Yves.
 
Old 02-11-2009, 07:11 AM   #3
black2night
LQ Newbie
 
Registered: Feb 2009
Posts: 2

Original Poster
Rep: Reputation: 0
thank so much for your response. the website is not hosted locally and i can access it through ftp and the cpanel and all the files do exist. In regards to what distribution it's i have no idea .
 
Old 02-11-2009, 07:39 AM   #4
AuroraCA
Member
 
Registered: Jul 2008
Location: Northern CA USA
Distribution: Ubuntu, Slackware, Gentoo, Fedora, Red Hat, Puppy Linux
Posts: 370

Rep: Reputation: 35
If you did not make any changes which created this problem it appears that Apache is no longer running or responding.

Contact your host customer service and ask them to check it out and/or restart your server.
 
Old 02-12-2009, 06:10 AM   #5
TripleOne
LQ Newbie
 
Registered: Feb 2009
Posts: 2

Rep: Reputation: Disabled
Actually, if you get a real 404 page your server is running.
If apache would be down you would get a 'no response' error from your browser.

Check your apache configuration. Alot of 404s come from accessing your server in different ways.
You used to access it by hostname? Check if you have a VirtualHost session in your apache configuration that might give you any clues.

Last edited by TripleOne; 02-12-2009 at 06:14 AM.
 
Old 02-12-2009, 06:20 AM   #6
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 66
The 404 error often happened to me at home due to files I had modified/replaced, and that ended up having permissions such that Apache was not allowed to read them.

Yves.
 
Old 02-12-2009, 07:42 AM   #7
AuroraCA
Member
 
Registered: Jul 2008
Location: Northern CA USA
Distribution: Ubuntu, Slackware, Gentoo, Fedora, Red Hat, Puppy Linux
Posts: 370

Rep: Reputation: 35
Quote:
Originally Posted by TripleOne View Post
Actually, if you get a real 404 page your server is running.
If apache would be down you would get a 'no response' error from your browser.

Check your apache configuration. Alot of 404s come from accessing your server in different ways.
You used to access it by hostname? Check if you have a VirtualHost session in your apache configuration that might give you any clues.

Well duh. Do I feel stupid! 404 is an Apache error, isn't it?

Thanks for being so kind in pointing that out. You could have called me a dumbass and I would have deserved it.

Thanks.
 
  


Reply



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
how to modify ERROR 404 (html) and put my own page?? mandriva 2006 ssarrinah Mandriva 2 06-04-2008 07:26 PM
http 404 , the page connot be found alsaaf Linux - General 3 12-11-2006 06:34 AM
404 Error Page Not Working newlinuxnewbie Linux - Server 3 09-06-2006 06:52 PM
404 page taken over? Keyser Sose Linux - Software 9 01-09-2005 12:26 PM
404 page not found Darthomir General 2 03-30-2004 09:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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