Welcome Guest, Not a member yet? Register   Sign In
godaddy 404 Page Not Found
#1

[eluser]avl[/eluser]
I have copied the whole dir to godaddy hosting.
when I open the url, it always gives:

404 Page Not Found
The page you requested was not found.



I have also set right base_url in config.php.

is there anything I'm missing...?
#2

[eluser]Unknown[/eluser]
Did you upload your website to the public or htdocs directory?

Also, does that error look like it was generated by CodeIgniter (has a red border)?
#3

[eluser]avl[/eluser]
yes error is inside the red box.

I have uploaded to a subdirectory inside public folder in Godaddy hosting.
#4

[eluser]avl[/eluser]
just to let you know that the same application is working on my pc at http://localhost/ignite
#5

[eluser]avl[/eluser]
my app is temporarily deployed at http://avlookup.com/igniter/
#6

[eluser]Daniel Moore[/eluser]
First off, I attempted to access your site with the following:

http://www.avlookup.com/igniter/ <-- gave CodeIgniter's 404 Error

http://www.avlookup.com/index.php/igniter/ <-- gave CodeIgniter's 404 Error

http://www.avlookup.com/index.php?/igniter/ <-- Success!

What this tells me is that your .htaccess and/or config.php is set up wrong for the GoDaddy server.

I happen to have used GoDaddy servers quite a bit, and there is an easy enough workaround. Check my link, "Using .htaccess to remove index.php". The .htaccess file used there in the tutorial gives special instructions on what worked for me with GoDaddy servers. You will need to use the '?' in your rewrite rule as specified there.
#7

[eluser]avl[/eluser]
Thanks for your detailed review. However I have installed wordpress on http://www.avlookup.com
and I installed codeigniter at http://www.avlookup.com/igniter

doesn't CI work if installed in subdirectory?
#8

[eluser]Daniel Moore[/eluser]
Yes, it does. The article I linked shows you how to put it in a sub-directory as well.
#9

[eluser]VernonK[/eluser]
Here is another solution with GoDaddy hosting. It deals with the 404 error as well.

http://choosedaily.com/2099/fixing-modre...y-hosting/
#10

[eluser]waqas amad[/eluser]
hi i have the same problem on godady

i am not using any .htaccess file.

i have used separate files for admin and site. used default index.php for public site, and used admin.php with change path for admin folder .

in the config.php of admin/config/config.php i have used the following settings:

$config['base_url'] = "http://www.orientbs.com/premy/admin.php";
$config['index_page'] = "";
$config['uri_protocol'] = "REQUEST_URI";

and for public site i have used:

in the config.php of both site/config/config.php i have used the following settings
$config['base_url'] = "http://www.orientbs.com/premy/index.php";
$config['index_page'] = "";
$config['uri_protocol'] = "REQUEST_URI";

the public site working fine on godady, but the admin side giving error for 404 page not found, i have also tried .htaccess that shown in different disscussion boards,
i have also used this .htaccess file

<IfModule mod_rewrite.c>
RewriteEngine On
Options +FollowSymLinks

RewriteBase /premy

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^admin/(.*)$ admin.php/$1 [L]
RewriteRule ^admin/$ admin.php [L]
RewriteRule ^admin$ admin.php [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^admin(.*)$ admin.php [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]

</IfModule>

link for public site:
http://www.orientbs.com/premy/index.php (work fine)

link for admin site:
http://www.orientbs.com/premy/admin.php (give 404 error)

on my local system it is working fine, i have also tried to change the "uri_protocol" to every option, but for admin site i am still facing error .




Theme © iAndrew 2016 - Forum software by © MyBB