# Cakephp 2.10, Working on PHP-5.6, I don't have errors on Localhost (Xampp) when hosted on GoDaddy Servers I get 404 Error

**URL:** https://discourse.cakephp.org/t/cakephp-2-10-working-on-php-5-6-i-dont-have-errors-on-localhost-xampp-when-hosted-on-godaddy-servers-i-get-404-error/6498
**Category:** Need Help
**Created:** [August 16, 2019, 4:32pm UTC](https://discourse.cakephp.org/t/cakephp-2-10-working-on-php-5-6-i-dont-have-errors-on-localhost-xampp-when-hosted-on-godaddy-servers-i-get-404-error/6498 "2019-08-16T16:32:15Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![ravichandrap1](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/ravichandrap1/32/1301_2.png) [@ravichandrap1](https://discourse.cakephp.org/u/ravichandrap1)
#### Post date: [August 16, 2019, 4:32pm UTC](https://discourse.cakephp.org/t/cakephp-2-10-working-on-php-5-6-i-dont-have-errors-on-localhost-xampp-when-hosted-on-godaddy-servers-i-get-404-error/6498/1 "2019-08-16T16:32:15Z")

</div>

Hi team,

I desperately need your help on troubleshooting this issue, it took me around a week to get this resolved! I have a cakephp-2.x project hosted on my GoDaddy server and it is returning HTTP-404 error when accessed.

Here is the link to my application - [http://demo.12desk.com](http://demo.12desk.com)

In the console I don’t see any error or in my error like missing objects or any files also both server logs and cakephp logs show no error at all.

I have created a sub-domain in CPanel and installed cakephp-2.x in the sub-domain’s Public HTML drive.

Can you please help me to fix this? Thanks in advance.

Thanks  
Ravichandra V

---

<div class="post-metadata">

### Author: ![Jubbs](https://avatars.discourse-cdn.com/v4/letter/j/8edcca/32.png) [@Jubbs](https://discourse.cakephp.org/u/Jubbs)
#### Post date: [August 17, 2019, 8:45pm UTC](https://discourse.cakephp.org/t/cakephp-2-10-working-on-php-5-6-i-dont-have-errors-on-localhost-xampp-when-hosted-on-godaddy-servers-i-get-404-error/6498/2 "2019-08-17T20:45:55Z")

</div>

I have not use godaddy servers but this looks like a path issue. Check that the project is in the correct directory and that the configuration points to correct location for your index.php. sometimes I get the webroot index.php to echo ok to make sure I have it setup.

---

<div class="post-metadata">

### Author: ![ravichandrap1](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/ravichandrap1/32/1301_2.png) [@ravichandrap1](https://discourse.cakephp.org/u/ravichandrap1)
#### Post date: [August 18, 2019, 5:45am UTC](https://discourse.cakephp.org/t/cakephp-2-10-working-on-php-5-6-i-dont-have-errors-on-localhost-xampp-when-hosted-on-godaddy-servers-i-get-404-error/6498/3 "2019-08-18T05:45:02Z")

</div>

Dear Jubbs, Thanks for the hint I’ll try to echo on index.php 🙂
