Error 404 Print

  • 4

If you are getting the following error:

 

Not Found

The requested URL /somefile.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

 

This is relatively easy to troubleshoot here are the possible reasons for that:

1. The most common reason as the error message suggests is that you are having the wrong path or file. Either the exact directory/s or the name of the file are misspelled. If your file is located in /home/youraccountusername/public_html/somepage.php then the proper link to access it over your browser is http://yoursit.com/somepage.php. If a file is located inside /home/youraccountusername/public_html/secondarydomain.com/some/folder/somepage.php then the proper link to access it over your browser is http://secondarydomain.com/some/folder/somepage.php

2. Please note that unlike windows linux is case sensitive so the link http://yoursite.com/Somefile.php is different than http://yoursite.com/somefile.php. In the first case the server is looking for the file Somefile.php and in the second for somefile.php and they are interpreted as completely different files by linux.

3. Let say you want to install wordpress or another CMS and you would like to access it through http://your.server.ip.address/~youraccountusername/wp-admin/install.php and you get error 404 even though the file /home/youraccountusername/public_html/wp-admin/install.php exists on the server. This is because some of the web hosting features are limited on the temporary server URL. Feel free to point your domain name to our nameservers ns1.host-ed.me and ns2.host-ed.m and add the domain name through your addon domains section inside your control panel (unless the domain name is the account primary domain and then it is already added to your cpanel account). After that you should be able to properly see the requested URL.

Do not hesitate to contact us if your problem is not resolved even after following the instructions of this article.


Was this answer helpful?

« Back